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

ARROW-7842 add tiny parquet with int and utf8 list columns #11

Merged
merged 1 commit into from May 5, 2020

Conversation

mcassels
Copy link

@mcassels mcassels commented Mar 30, 2020

A parquet with non-nested list columns is needed for datafusion testing for the Rust list-type column reader implementation, because nested lists are not yet supported: apache/arrow#6770

Copy link
Contributor

@Fokko Fokko left a comment

Choose a reason for hiding this comment

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

LGTM

MacBook-Pro-van-Fokko:Downloads fokkodriesprong$ parquet-tools schema list_columns.parquet 
message schema {
  optional group int64_list (LIST) {
    repeated group list {
      optional int64 item;
    }
  }
  optional group utf8_list (LIST) {
    repeated group list {
      optional binary item (UTF8);
    }
  }
}

MacBook-Pro-van-Fokko:Downloads fokkodriesprong$ parquet-tools cat list_columns.parquet 
int64_list:
.list:
..item = 1
.list:
..item = 2
.list:
..item = 3
utf8_list:
.list:
..item = abc
.list:
..item = efg
.list:
..item = hij

int64_list:
.list:
.list:
..item = 1

int64_list:
.list:
..item = 4
utf8_list:
.list:
..item = efg
.list:
.list:
..item = hij
.list:
..item = xyz

Copy link
Contributor

@nevi-me nevi-me left a comment

Choose a reason for hiding this comment

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

We'll need this before we can merge apache/arrow#6770

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants