Is it possible for s3.to_parquet
to use partition_cols
as defined in Glue Catalog?
#1644
-
I find that I need to pass in explicit |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The difficulty here is to distinguish between the case where you would like to create/update the Glue table definition with the new partitioning scheme because atm In your case I would suggest to use |
Beta Was this translation helpful? Give feedback.
The difficulty here is to distinguish between the case where you would like to create/update the Glue table definition with the new partitioning scheme because atm
wr.s3.to_parquet
keeps table definition in sync with the data, not vice versa.In your case I would suggest to use
wr.catalog.get_table()
to retrieve partition keys from the Glue table instead