|
34 | 34 |
|
35 | 35 |
|
36 | 36 | class InspectTable: |
37 | | - """A utility class for inspecting and analysing Iceberge table metadata. |
| 37 | + """A utility class for inspecting and analyzing Iceberg table metadata. |
38 | 38 |
|
39 | 39 | Attributes: |
40 | 40 | tbl(table): The table object to be inspected. |
@@ -133,7 +133,7 @@ def entries(self, snapshot_id: Optional[int] = None) -> "pa.Table": |
133 | 133 | snapshot_id (Optional[int]): ID of the snapshot to read entries from. If None, the current snapshot is used. |
134 | 134 |
|
135 | 135 | Returns: |
136 | | - pa.Table: A PyArraow table where each row represent a manifest entry with fields: |
| 136 | + pa.Table: A PyArrow table where each row represent a manifest entry with fields: |
137 | 137 | - status (int8): Entry status (e.g., added, existing, deleted). |
138 | 138 | - snapshot_id (int65): Snapshot ID associated with the entry. |
139 | 139 | - sequence_number (int64): Sequence number of the entry. |
@@ -300,7 +300,7 @@ def refs(self) -> "pa.Table": |
300 | 300 | """Generate a PyArrow table containing metadata references from a table. |
301 | 301 |
|
302 | 302 | Returns: |
303 | | - pa.Table: A PyArraow table with the following schema: |
| 303 | + pa.Table: A PyArrow table with the following schema: |
304 | 304 | - name (string): The name of the reference. |
305 | 305 | - type (dictionary<int32, string>): The type of reference. |
306 | 306 | - snapshot_id (int64): The snapshot ID that the reference points to. |
@@ -422,7 +422,7 @@ def _process_manifest(self, manifest: ManifestFile) -> Dict[Tuple[str, Any], Any |
422 | 422 | """Process a manifest file and extract partition-level statistics. |
423 | 423 |
|
424 | 424 | Args: |
425 | | - manifest: The manifest file containing metadata about data files and delete files. |
| 425 | + manifest: The manifest file containing metadata about data files and delete files. |
426 | 426 |
|
427 | 427 | Returns: |
428 | 428 | Dict[Tuple[str, Any], Any]: A dictionary mapping an partition key to a row of aggregated statistics with the following fields: |
|
0 commit comments