Skip to main content
Question

extract schema from parquet file

  • March 8, 2019
  • 4 replies
  • 24 views

ningzhong

Hello
Do anybody have experience extracting schema from parquet?
Found this one online, is it any good?
https://github.com/apache/parquet-mr/tree/master/parquet-tools
Thanks

4 replies

sivaswami
  • New Participant
  • March 8, 2019
Hi Zing,

Yes, schema can be extracted using this parquet tool.

Syntax is as follows:

Java -jar parquet-tools.jar schema outputfilename


Thank you,
Mohan
________________________________
From: ningzhong
Sent: Friday, March 8, 2019 9:24:33 AM
To: Mohana Kumaran Sivaswami
Subject: [AskVertica] extract schema from parquet file

Vertica Forum https://forum.vertica.com/
ningzhong started a new discussion: extract schema from parquet file

Hello

Do anybody have experience extracting schema from parquet?

Found this one online, is it any good?

https://github.com/apache/parquet-mr/tree/master/parquet-tools

Thanks

Reply to this email directly or follow the link below to check it out: https://forum.vertica.com/discussion/240459/extract-schema-from-parquet-file

ningzhong
  • Author
  • New Participant
  • March 8, 2019

Got it. Thanks, Mohan.


mosheg
Forum|alt.badge.img+2
  • Participating Frequently
  • March 8, 2019

Hi Ning,
Just got an answer from Yahel..
He is extracting the schema from parquet using AWS glue


ningzhong
  • Author
  • New Participant
  • March 8, 2019

Thanks, Moshe. So we have multiple tools available. Learned earlier that Mohan had experience with parquet-tools and are using it now to extract it now.