atoti.ParquetLoad#

final class atoti.ParquetLoad#

The description of a Apache Parquet file load.

See also

The other DataLoad implementations.

client_side_encryption: ClientSideEncryptionConfig | None = None#
columns: Mapping[str, str] = {}#

Mapping from file column names to table column names.

When the mapping is not empty, columns of the file absent from the mapping keys will not be loaded. Other parameters accepting column names expect to be passed table column names (i.e. values of this mapping) and not file column names.

path: Path | str#

The path to the Parquet file.

If a path pointing to a directory is provided, all of the files with the .parquet extension in the directory will be loaded into the same table and, as such, they are all expected to share the same schema.

The path can also be a glob pattern (e.g. "path/to/directory/*.parquet").