-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Minor: Improvements to type coercion rule #3379
Conversation
ecbee80
to
c3f9f27
Compare
Expr::BinaryExpr { left, op, right } => { | ||
let left_type = left.get_type(&self.schema)?; | ||
let right_type = right.get_type(&self.schema)?; | ||
match right_type { | ||
DataType::Interval(_) => { |
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.
Removed the special case pointed out by @liukun4515 as it does not seem to be needed anymore
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. Thanks @alamb
Benchmark runs are scheduled for baseline = 08a85db and contender = c89b10f. c89b10f is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Draft as it builds on #3222Which issue does this PR close?
re #3221
Rationale for this change
I saw a few minor improvements while reviewing #3222
What changes are included in this PR?
clone
Are there any user-facing changes?
No