Skip to content

Conversation

rluvaton
Copy link
Member

@rluvaton rluvaton commented Feb 23, 2025

Which issue does this PR close?

N/A

Rationale for this change

Currently because this function does not override return_type_from_args, it will return that the return type is always nullable however this is not true, as it is only nullable if any of the argument is nullable

What changes are included in this PR?

Implement return_type_from_args to return nullable true if any of the input is nullable

Are these changes tested?

yes

Are there any user-facing changes?

yes, we will now be able to get if the result is actually nullable or not.

The type has changed, and calls to data_type will return error if that count as a breaking change

@github-actions github-actions bot added the functions Changes to functions implementation label Feb 23, 2025
Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @rluvaton

@alamb alamb merged commit 6797375 into apache:main Feb 25, 2025
25 checks passed
@rluvaton rluvaton deleted the fix-strpos-datatype branch February 25, 2025 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

functions Changes to functions implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants