-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-31229][SQL][TESTS] Add unit tests TypeCoercion.findTypeForComplex and Cast.canCast in null <> complex types #27990
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
Conversation
ce0d668 to
e6d3c6f
Compare
|
Test build #120202 has finished for PR 27990 at commit
|
|
Test build #120203 has finished for PR 27990 at commit
|
|
retest this please |
|
Test build #120200 has finished for PR 27990 at commit
|
sql/catalyst/src/test/scala/org/apache/spark/sql/catalyst/analysis/TypeCoercionSuite.scala
Outdated
Show resolved
Hide resolved
dongjoon-hyun
left a comment
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.
+1, LGTM (with only one nit for indentation).
|
Test build #120210 has finished for PR 27990 at commit
|
|
Retest this please. |
|
Test build #120218 has finished for PR 27990 at commit
|
|
retest this please |
|
Test build #120221 has finished for PR 27990 at commit
|
|
Test build #120224 has finished for PR 27990 at commit
|
|
Let me just merge this - there's nothing related to pip packing test .. Merged to master and branch-3.0. Thanks, @dongjoon-hyun and @maropu |
…lex and Cast.canCast in null <> complex types ### What changes were proposed in this pull request? This PR (SPARK-31229) is rather a followup of #27926 (SPARK-31166). It adds unittests for `TypeCoercion.findTypeForComplex` and `Cast.canCast` about struct, map and array with the respect to null types. ### Why are the changes needed? To detect which scope was broken in the future easily. ### Does this PR introduce any user-facing change? No, it's a test-only. ### How was this patch tested? Unittests were added. Closes #27990 from HyukjinKwon/SPARK-31166-followup. Authored-by: HyukjinKwon <[email protected]> Signed-off-by: HyukjinKwon <[email protected]> (cherry picked from commit bd32400) Signed-off-by: HyukjinKwon <[email protected]>
…lex and Cast.canCast in null <> complex types ### What changes were proposed in this pull request? This PR (SPARK-31229) is rather a followup of apache#27926 (SPARK-31166). It adds unittests for `TypeCoercion.findTypeForComplex` and `Cast.canCast` about struct, map and array with the respect to null types. ### Why are the changes needed? To detect which scope was broken in the future easily. ### Does this PR introduce any user-facing change? No, it's a test-only. ### How was this patch tested? Unittests were added. Closes apache#27990 from HyukjinKwon/SPARK-31166-followup. Authored-by: HyukjinKwon <[email protected]> Signed-off-by: HyukjinKwon <[email protected]>
What changes were proposed in this pull request?
This PR (SPARK-31229) is rather a followup of #27926 (SPARK-31166). It adds unittests for
TypeCoercion.findTypeForComplexandCast.canCastabout struct, map and array with the respect to null types.Why are the changes needed?
To detect which scope was broken in the future easily.
Does this PR introduce any user-facing change?
No, it's a test-only.
How was this patch tested?
Unittests were added.