Skip to content

Conversation

@guan404ming
Copy link
Member

Why

Since HiveServer2Hook's get_df has its own overwrite which would be used by Amazon/transfer, we need a more precise overload like previously added in common-sql to prevent the union type issue.

How

  • add overload for get_df
  • add type assertion in unit test

^ 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 add-overload-for-hive branch from 4d1a341 to 44a683c Compare May 5, 2025 16:21
@guan404ming guan404ming marked this pull request as ready for review May 5, 2025 17:48
@eladkal eladkal merged commit fb8d311 into apache:main May 5, 2025
129 checks passed
@guan404ming guan404ming deleted the add-overload-for-hive branch May 6, 2025 06:49
@guan404ming
Copy link
Member Author

Thanks for the review!

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.

2 participants