Skip to content

ARROW-5111: [Go] implement reading list arrays from Arrow file - #4157

Closed
sbinet wants to merge 1 commit into
apache:masterfrom
sbinet-gonum:issue-5111
Closed

ARROW-5111: [Go] implement reading list arrays from Arrow file#4157
sbinet wants to merge 1 commit into
apache:masterfrom
sbinet-gonum:issue-5111

Conversation

@sbinet

Copy link
Copy Markdown
Contributor

No description provided.

@sbinet

Copy link
Copy Markdown
ContributorAuthor

needs #4155

@codecov-io

Copy link
Copy Markdown

Codecov Report

Merging #4157 into master will decrease coverage by 27.23%.
The diff coverage is 0%.

Impacted file tree graph

@@ Coverage Diff @@## master #4157 +/- ##
===========================================
- Coverage 87.89% 60.65% -27.24% 
===========================================
Files 758 67 -691 Lines 92163 4883 -87280 Branches 1251 0 -1251 ===========================================
- Hits 81006 2962 -78044 + Misses 11040 1812 -9228 + Partials 117 109 -8
Impacted FilesCoverage Δ
go/arrow/ipc/file_reader.go0% <0%> (ø)⬆️
go/arrow/ipc/metadata.go0% <0%> (ø)⬆️
python/pyarrow/ipc.pxi
cpp/src/arrow/csv/chunker-test.cc
cpp/src/parquet/column_page.h
cpp/src/parquet/bloom_filter-test.cc
cpp/src/arrow/array/builder_decimal.cc
cpp/src/plasma/client.cc
cpp/src/arrow/io/test-common.h
cpp/src/arrow/util/int-util-test.cc
... and 683 more

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 1c0930d...dda12fd. Read the comment docs.

Comment threadgo/arrow/ipc/file_reader.go Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hi @sbinet, I'm working on the equivalent for Rust. Hope you don't mind me asking a few questions.

Thanks

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

A binary array always has 3 buffers, but the first buffer may be null or empty if the null count is 0.

This means buffer #1 should always be the offsets array and buffer #2 the values array.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks @pitrou, is it safe for me to presume that the buffer numbers for primitives, list and struct will behave in the same way, where the null buffer may be null or empty?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Yes, it's part of the Arrow format specification.

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.

@sbinet

Copy link
Copy Markdown
ContributorAuthor

PTAL @stuartcarnie@alexandreyc@nickpoorman

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.

5 participants

@sbinet@codecov-io@stuartcarnie@pitrou@nevi-me