Skip to content

ARROW-11327: [Rust][DataFusion] Add DictionarySupport to create_batch_empty - #9276

Closed
alamb wants to merge 1 commit into
apache:masterfrom
alamb:alamb/empty_dicts
Closed

ARROW-11327: [Rust][DataFusion] Add DictionarySupport to create_batch_empty#9276
alamb wants to merge 1 commit into
apache:masterfrom
alamb:alamb/empty_dicts

Conversation

@alamb

@alambalamb commented Jan 20, 2021

Copy link
Copy Markdown
Contributor

The create_batch_empty function is used for creating output during aggregation. As part of my plan for better dictionary support it also needs to support DictionaryArray as well.

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this code is just hoisted into its own function so it can be called recursively

@github-actions

Copy link
Copy Markdown

@codecov-io

codecov-io commented Jan 20, 2021

Copy link
Copy Markdown

Codecov Report

Merging #9276 (07d8ce8) into master (a0e1244) will increase coverage by 0.01%.
The diff coverage is 80.41%.

Impacted file tree graph

@@ Coverage Diff @@## master #9276 +/- ##
==========================================
+ Coverage 81.64% 81.66% +0.01% 
==========================================
Files 215 215 Lines 52489 52512 +23 ==========================================
+ Hits 42857 42884 +27 + Misses 9632 9628 -4 
Impacted FilesCoverage Δ
rust/datafusion/src/physical_plan/common.rs82.03% <80.41%> (+7.74%)⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a0e1244...07d8ce8. Read the comment docs.

@jorgecarleitao

Copy link
Copy Markdown
Member

fyi, with #9281 , (imo) this is solved more broadly.

@alamb

Copy link
Copy Markdown
ContributorAuthor

I agree that #9281 looks much better. Thanks @jorgecarleitao

I might port the tests from this PR subsently, but for now i don't think it is doing anything valuable

@alambalamb closed this Jan 21, 2021
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@alamb@codecov-io@jorgecarleitao