-
Notifications
You must be signed in to change notification settings - Fork 28.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[SPARK-50224][SQL] The replacements of IsValidUTF8|ValidateUTF8|TryVa…
…lidateUTF8|MakeValidUTF8 shall be NullIntolerant ### What changes were proposed in this pull request? This PR makes replacements of IsValidUTF8|ValidateUTF8|TryValidateUTF8|MakeValidUTF8 functions to be NullIntolerant deriving from their origins so that we can actually construct IsNotNull constraints for them. This is also a common issue for other RuntimeReplaceable expressions, I will revisit them in groups. SPARK-50223. ### Why are the changes needed? Common strategy for performance improvement. ### Does this PR introduce _any_ user-facing change? NO ### How was this patch tested? new tests ### Was this patch authored or co-authored using generative AI tooling? no Closes #48758 from yaooqinn/SPARK-50224. Authored-by: Kent Yao <yao@apache.org> Signed-off-by: Kent Yao <yao@apache.org>
- Loading branch information
Showing
3 changed files
with
90 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters