title: How to read Parquet file from S3 without spark? Java
body: <p>Currently, I am using the Apache ParquetReader for reading local parquet files,
  which looks something like this:</p>
  
  <pre><code>ParquetReader&lt;GenericData.Record&gt; reader = null;
      Path path = new Path("userdata1.parquet");
      try {
          reader = AvroParquetReader.&lt;GenericData.Record&gt;builder(path).withConf(new Configuration()).build();
          GenericData.Record record;
          while ((record = reader.read()) != null) {
              System.out.println(record);
  </code></pre>
  
  <p>However, I am trying to access a parquet file through S3 without downloading it. Is there a way to parse Inputstream directly with parquet reader?</p>