You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: mkdocs/docs/api.md
+349-2
Original file line number
Diff line number
Diff line change
@@ -792,8 +792,6 @@ readable_metrics: [
792
792
[6.0989]]
793
793
```
794
794
795
-
To show all the table's current manifest entries for both data and delete files, use `table.inspect.all_entries()`.
796
-
797
795
### References
798
796
799
797
To show a table's known snapshot references:
@@ -1049,6 +1047,355 @@ readable_metrics: [
1049
1047
1050
1048
To show only data files or delete files in the current snapshot, use `table.inspect.data_files()` and `table.inspect.delete_files()` respectively.
1051
1049
1050
+
### All Metadata Tables
1051
+
1052
+
These tables are unions of the metadata tables specific to the current snapshot, and return metadata across all snapshots.
1053
+
!!! danger
1054
+
The "all" metadata tables may produce more than one row per data file or manifest file because metadata files may be part of more than one table snapshot.
1055
+
1056
+
#### All Entries
1057
+
1058
+
To show the table's manifest entries from all the snapshots for both data and delete files:
1059
+
1060
+
```python
1061
+
table.inspect.all_entries()
1062
+
```
1063
+
1064
+
```python
1065
+
pyarrow.Table
1066
+
status: int8 not null
1067
+
snapshot_id: int64 not null
1068
+
sequence_number: int64 not null
1069
+
file_sequence_number: int64 not null
1070
+
data_file: struct<content: int8 not null, file_path: string not null, file_format: string not null, spec_id: int32 not null, partition: struct<data: large_string> not null, record_count: int64 not null, file_size_in_bytes: int64 not null, column_sizes: map<int32, int64>, value_counts: map<int32, int64>, null_value_counts: map<int32, int64>, nan_value_counts: map<int32, int64>, lower_bounds: map<int32, binary>, upper_bounds: map<int32, binary>, key_metadata: binary, split_offsets: list<item: int64>, equality_ids: list<item: int32>, sort_order_id: int32> not null
1071
+
child 0, content: int8 not null
1072
+
child 1, file_path: string not null
1073
+
child 2, file_format: string not null
1074
+
child 3, spec_id: int32 not null
1075
+
child 4, partition: struct<data: large_string> not null
1076
+
child 0, data: large_string
1077
+
child 5, record_count: int64 not null
1078
+
child 6, file_size_in_bytes: int64 not null
1079
+
child 7, column_sizes: map<int32, int64>
1080
+
child 0, entries: struct<key: int32 not null, value: int64> not null
1081
+
child 0, key: int32 not null
1082
+
child 1, value: int64
1083
+
child 8, value_counts: map<int32, int64>
1084
+
child 0, entries: struct<key: int32 not null, value: int64> not null
1085
+
child 0, key: int32 not null
1086
+
child 1, value: int64
1087
+
child 9, null_value_counts: map<int32, int64>
1088
+
child 0, entries: struct<key: int32 not null, value: int64> not null
1089
+
child 0, key: int32 not null
1090
+
child 1, value: int64
1091
+
child 10, nan_value_counts: map<int32, int64>
1092
+
child 0, entries: struct<key: int32 not null, value: int64> not null
1093
+
child 0, key: int32 not null
1094
+
child 1, value: int64
1095
+
child 11, lower_bounds: map<int32, binary>
1096
+
child 0, entries: struct<key: int32 not null, value: binary> not null
1097
+
child 0, key: int32 not null
1098
+
child 1, value: binary
1099
+
child 12, upper_bounds: map<int32, binary>
1100
+
child 0, entries: struct<key: int32 not null, value: binary> not null
0 commit comments