Bases: _Weakrefable
Parquet metadata for a single file.
Methods
Attributes
Append row groups from other FileMetaData object.
FileMetaData
Other metadata to append row groups from.
String describing source of the parquet file (str).
This typically includes library name and version number. For example, Arrow 7.0âs writer returns âparquet-cpp-arrow version 7.0.0â.
Return whether the two file metadata objects are equal.
FileMetaData
Metadata to compare against.
Parquet format version used in file (str, such as â1.0â, â2.4â).
If version is missing or unparsable, will default to assuming â2.6â.
Additional metadata as key value pairs (dict[bytes, bytes]).
Number of columns in file (int).
Number of row groups in file (int).
Total number of rows in file (int).
Get metadata for row group at index i.
int
Row group index to get.
RowGroupMetaData
Schema of the file (ParquetSchema
).
Size of the original thrift encoded metadata footer (int).
Set ColumnChunk file paths to the given value.
This method modifies the file_path
field of each ColumnChunk in the FileMetaData to be a particular value.
str
The file path to set on all ColumnChunks.
Get dictionary representation of the file metadata.
dict
Dictionary with a key for each attribute of this class.
Write the metadata to a metadata-only Parquet file.
Where to write the metadata. Should be a writable path on the local filesystem, or a writable file-like object.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4