Skip to content

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

Merged
Fokko merged 1 commit into
apache:masterfrom
urbanlogiq:list_columns
May 5, 2020
Merged

ARROW-7842 add tiny parquet with int and utf8 list columns#11
Fokko merged 1 commit into
apache:masterfrom
urbanlogiq:list_columns

Conversation

@mcassels

@mcassels mcassels commented Mar 30, 2020

Copy link
Copy Markdown

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

@Fokko Fokko left a comment

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.

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

@nevi-me nevi-me left a comment

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.

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