Skip to content

Handling blank Parquet files #21

Description

@ZenoArrow

I'd like to be able to check whether a Parquet file is empty. At the moment, the only outcome of running Import-Parquet against an empty Parquet file is that nothing is returned, which isn't ideal as this could also happen if something went wrong with the import (e.g. file has data in but the path was specified incorrectly, or import process bombed out due to lack of memory).

What would be helpful is someway to return row count or column headers or some other metadata that indicated the file could be accessed correctly but didn't have any data to return. I believe this should be possible as if I open an empty Parquet file using ParquetViewer (which uses the same Parquet.NET library as PSParquet) I can open the file and see the column header names and zero rows in the file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions