Hello, I'm wanting to read Parquet records into JSON with Java, and it seems that JsonRecordFormatter is the way to do it (like in https://github.com/apache/parquet-mr/blob/master/parquet-tools/src/main/java/org/apache/parquet/tools/command/CatCommand.java#L84 ).
Unlike the above example, I want to avoid passing a Hadoop Path object, and instead I want to use the ParquetReader.read(InputFile).build(); builder. However this returns a ParquetReader<Object>, and not the ParquetReader<SimpleRecord> that I need for JsonRecordFormatter. It looks like I need to insert a new SimpleReadSupport() somewhere, but I can't find any method in that builder that accepts it. I've tried looking for other usages online etc but haven't had any luck. Any pointers greatly appreciated. Regards, Ben
