Skip to content

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

Development

Successfully merging this pull request may close these issues.

3 participants