laughingman7743 / PyAthena

PyAthena is a Python DB API 2.0 (PEP 249) client for Amazon Athena.
MIT License
464 stars 105 forks source link

Implemented ICEBERG partition & partition transform functions #460

Closed laughingman7743 closed 1 year ago

laughingman7743 commented 1 year ago

Solves #458

I adapted the handling of the column dialect option 'partition' in _prepared_columns() for ICEBERG tables. I also added three column dialect options.

All partition functions are defined in model.py under AthenaPartitionTransform.

I did not add handlers for the connect options for those column dialect options. Also did not update the README.

laughingman7743 commented 1 year ago

https://github.com/laughingman7743/PyAthena/pull/459#issuecomment-1621585850