I am using version 1.11.2 of the following library. However, it doesn't seem to have a method to retrieve the version from file metadata header. What is the alternative?
<dependency>
<groupId>org.apache.parquet</groupId>
<artifactId>parquet-tools</artifactId>
</dependency>
Using
parquet-tools, you can do the following:Find a parquet file of your choice, and use the
inspectcommand ofparquet-tools. The command + output should looks something like this:The
created_byfield tells you which parquet-mr version was used (in this example,parquet-mr version 1.10.1 (build a89df8f9932b6ef6633d06069e50c9b7970bebd1)