-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Add NULL literal support for decimal and integers #5077
Add NULL literal support for decimal and integers #5077
Conversation
@@ -306,7 +322,7 @@ mod tests { | |||
explicit_options.schema = Some(&schema); | |||
ctx.register_csv("data", "tests/testdata/data.csv", explicit_options.clone()) | |||
.await?; | |||
ctx.register_csv("data2", "tests/testdata/data.csv", explicit_options) | |||
ctx.register_csv("data2", "tests/testdata/data.csv", explicit_options.clone()) |
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.
Is this clone
needed?
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.
You're right. The second one is not needed, since we clone
d the first one. I also think the second call to register_csv()
can just use the default option since we're not using the second table to test Decimal
s so I'll fix that as well.
Modified test
Cargo clippy fix Resolved merge conflict
b7dc7e8
to
7e04fdb
Compare
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 @nseekhao
Benchmark runs are scheduled for baseline = 3a1f033 and contender = 7d2318b. 7d2318b is a master commit associated with this PR. Results will be available as each benchmark for each run completes. |
Modified test
Which issue does this PR close?
Part of #4897
Original PR: datafusion-contrib/datafusion-substrait#40
Rationale for this change
Applying PRs that were already merged in the original repo
What changes are included in this PR?
INT8
,INT16
,INT32
DECIMAL128
Are these changes tested?
Yes
Are there any user-facing changes?
No