Search code examples
hadoopparquet

View schema in parquet with on command line parquet-tools


I'm trying to run a parquet-tools command to only view the file schema of my parquet file.

I am currently running:

$ parquet-tools meta /tmp/my-file.parquet

But this displays the file schema plus hundreds of row groups. I don't want to see the row groups, only the file schema.


Solution

  • Try

    parquet-tools schema /tmp/my-file.parquet