@@ -432,9 +432,10 @@ def to_parquet( # pylint: disable=too-many-arguments,too-many-locals,too-many-b
432432 Useful when you have columns with undetermined or mixed data types.
433433 (e.g. {'col name': 'bigint', 'col2 name': 'int'})
434434 athena_partition_projection_settings: typing.AthenaPartitionProjectionSettings, optional
435- Parameters of the Athena Partition Projection (https://docs.aws.amazon.com/athena/latest/ug/partition-projection.html).
436- AthenaPartitionProjectionSettings is a `TypedDict`, meaning the passed parameter can be instantiated either as an
437- instance of AthenaPartitionProjectionSettings or as a regular Python dict.
435+ Parameters of the Athena Partition Projection
436+ (https://docs.aws.amazon.com/athena/latest/ug/partition-projection.html).
437+ AthenaPartitionProjectionSettings is a `TypedDict`, meaning the passed parameter can be instantiated either as
438+ an instance of AthenaPartitionProjectionSettings or as a regular Python dict.
438439
439440 Following projection parameters are supported:
440441
@@ -758,6 +759,7 @@ def store_parquet_metadata( # pylint: disable=too-many-arguments,too-many-local
758759 path_suffix : Optional [str ] = None ,
759760 path_ignore_suffix : Union [str , List [str ], None ] = None ,
760761 ignore_empty : bool = True ,
762+ ignore_null : bool = False ,
761763 dtype : Optional [Dict [str , str ]] = None ,
762764 sampling : float = 1.0 ,
763765 dataset : bool = False ,
@@ -810,6 +812,8 @@ def store_parquet_metadata( # pylint: disable=too-many-arguments,too-many-local
810812 Suffix or List of suffixes for S3 keys to be ignored.
811813 ignore_empty: bool
812814 Ignore files with 0 bytes.
815+ ignore_null: bool
816+ Ignore columns with null type.
813817 dtype : Dict[str, str], optional
814818 Dictionary of columns names and Athena/Glue types to be casted.
815819 Useful when you have columns with undetermined data types as partitions columns.
@@ -844,9 +848,10 @@ def store_parquet_metadata( # pylint: disable=too-many-arguments,too-many-local
844848 Keep enabled even when working with projections is useful to keep
845849 Redshift Spectrum working with the regular partitions.
846850 athena_partition_projection_settings: typing.AthenaPartitionProjectionSettings, optional
847- Parameters of the Athena Partition Projection (https://docs.aws.amazon.com/athena/latest/ug/partition-projection.html).
848- AthenaPartitionProjectionSettings is a `TypedDict`, meaning the passed parameter can be instantiated either as an
849- instance of AthenaPartitionProjectionSettings or as a regular Python dict.
851+ Parameters of the Athena Partition Projection
852+ (https://docs.aws.amazon.com/athena/latest/ug/partition-projection.html).
853+ AthenaPartitionProjectionSettings is a `TypedDict`, meaning the passed parameter can be instantiated either as
854+ an instance of AthenaPartitionProjectionSettings or as a regular Python dict.
850855
851856 Following projection parameters are supported:
852857
@@ -934,7 +939,7 @@ def store_parquet_metadata( # pylint: disable=too-many-arguments,too-many-local
934939 path_suffix = path_suffix ,
935940 path_ignore_suffix = path_ignore_suffix ,
936941 ignore_empty = ignore_empty ,
937- ignore_null = False ,
942+ ignore_null = ignore_null ,
938943 use_threads = use_threads ,
939944 s3_additional_kwargs = s3_additional_kwargs ,
940945 boto3_session = boto3_session ,
0 commit comments