Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GLUTEN-5001][CORE] Support mapping to native function for HiveGenericUDF #5002

Merged
merged 2 commits into from
Mar 20, 2024

Conversation

WangGuangxin
Copy link
Contributor

What changes were proposed in this pull request?

Support HiveGenericUDF when mapping to native function

(Fixes: #5001)

Copy link

#5001

Copy link

Run Gluten Clickhouse CI

Copy link
Contributor

@PHILO-HE PHILO-HE left a comment

Choose a reason for hiding this comment

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

Please help address one minor comment. Thank!
@taiyang-li, could you review this pr?

case g: HiveGenericUDF =>
g.name.stripPrefix("default.")
case _ =>
throw new UnsupportedOperationException(
Copy link
Contributor

Choose a reason for hiding this comment

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

Let's use GlutenNotSupportException, which is newly introduced for expected fallback.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for review. Fixed

Copy link

Run Gluten Clickhouse CI

Copy link
Contributor

@taiyang-li taiyang-li left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@zhouyuan zhouyuan left a comment

Choose a reason for hiding this comment

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

looks good to me. cc @marin-ma

@PHILO-HE PHILO-HE changed the title [GLUTEN-5001][CORE] Support HiveGenericUDF when mapping to native function [GLUTEN-5001][CORE] Support mapping to native function for HiveGenericUDF Mar 20, 2024
@PHILO-HE PHILO-HE merged commit 2780799 into apache:main Mar 20, 2024
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support HiveGenericUDF when mapping to native function
4 participants