Skip to content

Instantly share code, notes, and snippets.

@thaibui
Created February 10, 2016 23:37
Show Gist options
  • Save thaibui/f1487c1cfb5579dba2d0 to your computer and use it in GitHub Desktop.
Save thaibui/f1487c1cfb5579dba2d0 to your computer and use it in GitHub Desktop.
Get schema of any Parquet file in HDFS
A = load '/data/product/part-r-00001.parquet' USING parquet.pig.ParquetLoader();
describe A;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment