Skip to content

Conversation

@guan404ming
Copy link
Member

@guan404ming guan404ming commented Aug 7, 2025

Why

Current HiveToDynamoDBOperator only supports Pandas DataFrames, limiting extensibility to Polars
cc: @eladkal

How

  • Added df_type parameter supporting "pandas" (default) and "polars"
  • Enhanced data serialization to handle both DataFrame types with appropriate methods
  • Added tests for both DataFrame types
  • Removed unused type overload

^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.

@guan404ming guan404ming force-pushed the HiveToDynamoDBOperator-polars branch 2 times, most recently from 5ba78a9 to fe7ac76 Compare August 7, 2025 17:08
@guan404ming guan404ming marked this pull request as ready for review August 7, 2025 17:08
@guan404ming guan404ming force-pushed the HiveToDynamoDBOperator-polars branch from fe7ac76 to 3af3bf1 Compare August 9, 2025 14:23
Copy link
Contributor

@Nataneljpwd Nataneljpwd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, good job!
I have 1 comment for discussion, and I would appreciate if you could answer it.

@guan404ming guan404ming force-pushed the HiveToDynamoDBOperator-polars branch from 3af3bf1 to b41439b Compare August 12, 2025 05:08
@potiuk potiuk merged commit ff43e6e into apache:main Aug 12, 2025
75 checks passed
@potiuk
Copy link
Member

potiuk commented Aug 12, 2025

Nice one! Love polars :)

@guan404ming guan404ming deleted the HiveToDynamoDBOperator-polars branch August 13, 2025 09:50
@guan404ming
Copy link
Member Author

Thanks, +1 love polars!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants