xabriel opened a new pull request #372: Allow read split behavior overrides URL: https://github.com/apache/incubator-iceberg/pull/372 Iceberg exposes the following read path properties as of today: `read.split.target-size` `read.split.planning-lookback` `read.split.open-file-cost` However, these properties must be set at the `Table.properties()` level to be effective. In this PR, we allow these read flags to override behavior of a `Scan` object: ```java TableScan scan = table.newScan() .splitOptions( new SplitOptions() .splitSize(256L * 1024 * 1024)); ``` They can also be passed in as a `DataFrameReader` option: ```java Dataset<Row> resultDf = spark.read() .format("iceberg") .option(TableProperties.SPLIT_SIZE, String.valueOf(256L * 1024 * 1024)) .load(tableLocation); ```
---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
