-
Notifications
You must be signed in to change notification settings - Fork 267
fix: enable cast tests for Spark 4.0 #2919
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
8ab922b to
f361558
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2919 +/- ##
============================================
+ Coverage 56.12% 59.61% +3.48%
- Complexity 976 1370 +394
============================================
Files 119 167 +48
Lines 11743 15493 +3750
Branches 2251 2568 +317
============================================
+ Hits 6591 9236 +2645
- Misses 4012 4957 +945
- Partials 1140 1300 +160 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Closes : #2885 |
9b55e22 to
04e1ffd
Compare
|
@manuzhang , LGTM nit : would be great to have a separate unit test to check error messages themselves . |
|
@coderfender which message do you suggest to expect specifically? Spark has added back "SQLSTATE" tag in 4.1 but I don't think we have to change at Comet side to match the behavior every time. |
|
@manuzhang no I meant a simple unit test to asset that our logic works :) |
04e1ffd to
e90e39f
Compare
e90e39f to
23f0ded
Compare
23f0ded to
d27b6b3
Compare
andygrove
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.
Thanks @manuzhang
|
Thank you @manuzhang |
coderfender
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.
LGTM
Which issue does this PR close?
Closes #2885.
Rationale for this change
Some cast tests are skipped for Spark 4.0 due to exception message mismatch after apache/spark#48054.
What changes are included in this PR?
Drop
If necessary set \"spark.sql.ansi.enabled\" to \"false\" to bypass this error.from comet exception message like apache/spark#48054, and enable tests skipped for Spark 4.0.How are these changes tested?