You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@parquet.apache.org by "olivbrau (via GitHub)" <gi...@apache.org> on 2025/05/30 08:34:52 UTC

[I] No need to read full RowGroup when using RowRanges [parquet-java]

olivbrau opened a new issue, #3231:
URL: https://github.com/apache/parquet-java/issues/3231

   ### Describe the enhancement requested
   
   I'm using ParquetFileReader and would like to read the few first line of a parquet file to show a preview to the user.
   I'm doing this :
   PageReadStore rowGroup = reader.readFilteredRowGroup(0, RowRanges.createSingle(10));
   and then :
   ColumnReadStore colReadStore = new ColumnReadStoreImpl(rowGroup,
   									new GroupRecordConverter(schema).getRootConverter(),
   									schemaLecture, ...);
   etc.
   
   The problem is when calling readFilteredRowGroup(), it reads the full row group in memory, which in my case is slow because the parquet file is on a network drive and has quite big row group. On top of that, it consumes RAM for nothing.
   
   Is this an issue or could it be improved ?
   
   Thanks in advance.
   Olivier
   
   ### Component(s)
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org


Re: [I] No need to read full RowGroup when using RowRanges [parquet-java]

Posted by "atris (via GitHub)" <gi...@apache.org>.
atris commented on issue #3231:
URL: https://github.com/apache/parquet-java/issues/3231#issuecomment-4144767098

   Hello! Can I work on this?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@parquet.apache.org
For additional commands, e-mail: issues-help@parquet.apache.org