Inspect Parquet from command line
<p>How do I inspect the content of a Parquet file from the command line?</p>

<p>The only option I see now is</p>

<pre><code>$ hadoop fs -get my-path local-file
$ parquet-tools head local-file | less
</code></pre>

<p>I would like to </p>

<ol>
<li>avoid creating the <code>local-file</code> and </li>
<li>view the file content as <code>json</code> rather than the typeless text that <code>parquet-tools</code> prints.</li>
</ol>

<p>Is there an easy way?</p>