-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24734][SQL] Fix type coercions and nullabilities of nested data types of some functions. #21704
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
Closed
ueshin
wants to merge
21
commits into
apache:master
from
ueshin:issues/SPARK-24734/concat_containsnull
Closed
[SPARK-24734][SQL] Fix type coercions and nullabilities of nested data types of some functions. #21704
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
d87a8c6
Fix containsNull of Concat for array type.
ueshin 30d5aed
Add a test.
ueshin 2e624df
Revert "Fix containsNull of Concat for array type."
ueshin fa73b32
Merge branch 'master' into issues/SPARK-24734/concat_containsnull
ueshin da0702b
Suppress unneeded casts.
ueshin b31e401
Fix `Concat`.
ueshin 7a838b0
Fix `CreateArray`.
ueshin 01c9ff3
Fix `CreateMap`.
ueshin b2ca587
Fix `Coalesce`.
ueshin 3d8891e
Fix `Least` and `Greatest`.
ueshin 1fa692a
Merge branch 'master' into issues/SPARK-24734/concat_containsnull
ueshin 444383d
Fix `MapConcat`.
ueshin 3e1f7e4
Fix udts.
ueshin 2c54e38
Rename to `findCommonTypeDifferentOnlyInNullFlags`.
ueshin 5f1b865
Merge branch 'master' into issues/SPARK-24734/concat_containsnull
ueshin 2ab025f
Use `ComplexTypeMergingExpression` trait.
ueshin db254e5
Fix udts.
ueshin b412f7b
Merge branch 'master' into issues/SPARK-24734/concat_containsnull
ueshin f701242
Make `ArraySetLike` `ComplexTypeMergingExpression`.
ueshin 5115961
Use `TypeCoercion.haveSameType`.
ueshin e489e8b
Revert "Make `ArraySetLike` `ComplexTypeMergingExpression`."
ueshin File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why
CreateArraydoesn't extendComplexTypeMergingExpression?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because the data type of the
CreateArrayitself is not the merged type butArrayType.