-
Notifications
You must be signed in to change notification settings - Fork 277
chore: Refactor Literal serde #2377
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
parthchandra
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
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2377 +/- ##
============================================
+ Coverage 56.12% 57.43% +1.30%
- Complexity 976 1296 +320
============================================
Files 119 147 +28
Lines 11743 13405 +1662
Branches 2251 2346 +95
============================================
+ Hits 6591 7699 +1108
- Misses 4012 4443 +431
- Partials 1140 1263 +123 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
| exprBuilder.setListVal(listLiteralBuilder.build()) | ||
| exprBuilder.setDatatype(serializeDataType(dataType).get) | ||
| case dt => | ||
| logWarning(s"Unexpected datatype '$dt' for literal value '$value'") |
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.
Would it be better to throw an exception here?
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.
Yes, I think so. Thanks, I will update this.
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.
I updated this code to tag the plan with the warning and fall back to Spark
|
Some compilation errors? |
Which issue does this PR close?
Part of #2019
Rationale for this change
What changes are included in this PR?
How are these changes tested?