[ 
https://issues.apache.org/jira/browse/ARROW-14025?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17424142#comment-17424142
 ] 

Neal Richardson commented on ARROW-14025:
-----------------------------------------

Yes, when we create a FileSystemDataset, the FileFormat gets created and it 
takes an Options object, which for parquet is ParquetFragmentScanOptions. Here 
are the R defaults: 
https://github.com/apache/arrow/blob/master/r/R/dataset-format.R#L292-L294

> [R][C++] PreBuffer is not enabled when scanning parquet via exec nodes
> ----------------------------------------------------------------------
>
>                 Key: ARROW-14025
>                 URL: https://issues.apache.org/jira/browse/ARROW-14025
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++, R
>            Reporter: Weston Pace
>            Assignee: Neal Richardson
>            Priority: Major
>             Fix For: 6.0.0
>
>
> In ExecNode_Scan a ScanOptions object is built up.  If we are reading parquet 
> we should enable pre-buffering.  This is done by creating a 
> ParquetFragmentScanOptions object and enabling pre-buffering.
> Alternatively, we could just default pre-buffering to true for asynchronous 
> scans of parquet data.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to