Skip to content

[GLUTEN-10134][VL] Remove redundant registerSparkCastModeSpecialForms call - #12816

Merged
philo-he merged 3 commits into
apache:mainfrom
ReemaAlzaid:remove-redundant-cast-registration
Aug 19, 2026
Merged

[GLUTEN-10134][VL] Remove redundant registerSparkCastModeSpecialForms call#12816
philo-he merged 3 commits into
apache:mainfrom
ReemaAlzaid:remove-redundant-cast-registration

Conversation

@ReemaAlzaid

@ReemaAlzaid ReemaAlzaid commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Follow up to #12051, addressing a post-merge review comment from @philo-he:
#12051 (comment)... (link to the comment)

Velox's sparksql::registerFunctions("") already registers the Spark cast mode
special forms internally (registerFunctionsregisterSpecialFormGeneralFunctions
registerSparkCastModeSpecialForms), so the explicit call added in #12051 is
redundant. This removes the call and the now-unused SparkCastExpr.h include from
RegistrationAllFunctions.cc.

How was this patch tested?

Existing CI

Was this patch authored or co-authored using generative AI tooling?

Related issue: #10134

@github-actions github-actions Bot added the VELOX label Aug 18, 2026
@ReemaAlzaid
ReemaAlzaid force-pushed the remove-redundant-cast-registration branch from 5141982 to 514a611 Compare August 18, 2026 20:02
@ReemaAlzaid

Copy link
Copy Markdown
Contributor Author

@philo-he

@philo-he philo-he left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thank you!

@philo-he
philo-he merged commit 791e0a2 into apache:main Aug 19, 2026
61 checks passed
@ReemaAlzaid
ReemaAlzaid deleted the remove-redundant-cast-registration branch August 19, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants