title: create parquet files in java
body: <p>Is there a way to create parquet files from java?</p>
  
  <p>I have data in memory (java classes) and I want to write it into a parquet file, to later read it from apache-drill.</p>
  
  <p>Is there an simple way to do this, like inserting data into a sql table?</p>
  
  <p><strong>GOT IT</strong></p>
  
  <p>Thanks for the help.</p>
  
  <p>Combining the answers and this <a href="http://www.programcreek.com/java-api-examples/index.php?source_dir=pbase-master/hbase-server/src/test/java/org/apache/hadoop/hbase/regionserver/pbase/util/GenerateParquetFile.java" rel="noreferrer">link</a>, I was able to create a parquet file and read it back with drill.</p>