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

fix: remove cast function definition #253

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

almann
Copy link
Contributor

@almann almann commented Jul 20, 2022

Given that the Expression node has an explicit Cast variant that was added in #88, the cast function definition (added in #152) seems redundant.

This change is technically breaking as there could be dependent plans that are modeling a cast via function call over the expression.

Given that the `Expression` node has an explicit `Cast` variant that was
added in substrait-io#88, the `cast` function definition (added in substrait-io#152) seems redundant.

BREAKING CHANGE: Existing plans that are modeling `cast` with this
built-in function definition over the expression will not be valid.
@almann almann force-pushed the cast-func-remove branch from 84f520a to d2f169e Compare July 21, 2022 04:23
@almann almann changed the title fix!: Removes cast function definition fix: Removes cast function definition Jul 21, 2022
Copy link
Contributor

@jvanstraten jvanstraten left a comment

Choose a reason for hiding this comment

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

I'm +1 on removing this, and also on calling it a breaking change.

@jvanstraten jvanstraten changed the title fix: Removes cast function definition fix: remove cast function definition Jul 21, 2022
@jacques-n
Copy link
Contributor

Looks good, thanks @almann !

@jacques-n jacques-n merged commit 66a3476 into substrait-io:main Jul 25, 2022
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.

3 participants