Skip to content

Using arrow to write parquet (ends up with an empty table) #2287

@dragan224

Description

@dragan224

Hi all,

I have this piece of code which produces a valid parquet file (using an arrow table), however the contents of the file are empty.

Code: https://ideone.com/DJkKUF

When I run "parquet-tools cat test.parquet" and actually try to read the file, i get an empty output, shouldn't the file have 5 entries?

Edit: Furthermore when i run "parquet-tools schema test.parquet" the schema prints correctly:

message schema {
optional group MyStruct {
required binary str (UTF8);
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions