-
Notifications
You must be signed in to change notification settings - Fork 130
fix[duckdb]: handle dict and null correctly #4788
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
Benchmarks: Random AccessSummary
|
Benchmarks: TPC-H SF=1 on NVMESummary
Detailed Results Table
|
Benchmarks: TPC-H SF=1 on S3Summary
Detailed Results Table
|
Benchmarks: TPC-H SF=10 on NVMESummary
Detailed Results Table
|
Benchmarks: CompressionSummary
Detailed Results Table
|
Benchmarks: Statistical and Population GeneticsSummary
Detailed Results Table
|
Benchmarks: TPC-H SF=10 on S3Summary
Detailed Results Table
|
Benchmarks: Clickbench on NVMESummary
Detailed Results Table
|
Benchmarks: TPC-DS SF=1 on NVMESummary
Detailed Results Table
|
vortex-duckdb/src/exporter/bool.rs
Outdated
| pub(crate) fn new_exporter(array: &BoolArray) -> VortexResult<Box<dyn ColumnExporter>> { | ||
| let validity_mask = array.validity_mask(); | ||
| if validity_mask.all_false() { | ||
| return Ok(invalid::new_exporter( |
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.
invalid or null exporter? It's not invalid to have a validity_mask all false right.
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.
We use all_invalid to mean an all false array, I guess I can change it to that?
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.
Let's go with all invalid then.
| } | ||
|
|
||
| pub(crate) fn new_exporter( | ||
| pub(crate) fn new_exporter_with_flatten( |
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 think I'd prefer to only keep on new_exporter func where we pass in the flatten bool explicitly at all times.
Signed-off-by: Joe Isaacs <joe.isaacs@live.co.uk>
CodSpeed Performance ReportMerging #4788 will improve performances by 17.45%Comparing Summary
Benchmarks breakdown
Footnotes |
# Conflicts: # vortex-dtype/src/dtype.rs
No description provided.