Skip to content
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

Adding Pretty Print Support For Fixed Size List #958

Merged
merged 7 commits into from Nov 22, 2021

Conversation

brianrackle
Copy link
Contributor

@brianrackle brianrackle commented Nov 20, 2021

Which issue does this PR close?

Closes #925

Rationale for this change

See #925

@github-actions github-actions bot added the arrow Changes to the arrow crate label Nov 20, 2021
@brianrackle
Copy link
Contributor Author

Not sure if there is a way to automatically accept the linting changes but I went ahead and incorporated the lint changes

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Thank you @brianrackle -- looks great to me.

FYI @matthewmturner

builder.values().append_slice(&[4, 5, 6]).unwrap();
builder.append(true).unwrap();
builder.values().append_slice(&[7, 8, 9]).unwrap();
builder.append(true).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any chance you can add a NULL here as well (append(false)) to ensure a null entry is handled properly?

@codecov-commenter
Copy link

Codecov Report

Merging #958 (00f66e0) into master (02f3ec8) will increase coverage by 0.00%.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #958   +/-   ##
=======================================
  Coverage   82.31%   82.31%           
=======================================
  Files         168      168           
  Lines       48719    48719           
=======================================
+ Hits        40104    40105    +1     
+ Misses       8615     8614    -1     
Impacted Files Coverage Δ
arrow/src/util/display.rs 20.00% <0.00%> (-0.39%) ⬇️
parquet_derive/src/parquet_field.rs 65.98% <0.00%> (ø)
arrow/src/datatypes/datatype.rs 66.38% <0.00%> (+0.42%) ⬆️
arrow/src/compute/kernels/temporal.rs 97.35% <0.00%> (+1.27%) ⬆️

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 02f3ec8...00f66e0. Read the comment docs.

Copy link
Contributor

@alamb alamb left a comment

Choose a reason for hiding this comment

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

Looks good -- thanks @brianrackle !

@alamb alamb merged commit b039cf4 into apache:master Nov 22, 2021
alamb pushed a commit that referenced this pull request Nov 22, 2021
* Inferring 2. as Float64 for issue #929

* Adding pretty print support for fixed size list array

* fixing linting errors

* adding null row to test
@alamb alamb added the cherry-picked PR that was backported to active release (will be included in maintenance release) label Nov 22, 2021
alamb pushed a commit that referenced this pull request Nov 23, 2021
* Inferring 2. as Float64 for issue #929

* Adding pretty print support for fixed size list array

* fixing linting errors

* adding null row to test
alamb added a commit that referenced this pull request Nov 23, 2021
* Inferring 2. as Float64 for issue #929

* Adding pretty print support for fixed size list array

* fixing linting errors

* adding null row to test

Co-authored-by: Brian Rackle <brianrackle@hotmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arrow Changes to the arrow crate cherry-picked PR that was backported to active release (will be included in maintenance release)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add FixedSizeList to pretty_print_batches implementation
3 participants