RussellSpitzer commented on code in PR #16088:
URL: https://github.com/apache/iceberg/pull/16088#discussion_r3244524305
##########
spark/v4.1/spark/src/main/java/org/apache/iceberg/spark/SparkReadConf.java:
##########
@@ -290,6 +291,17 @@ public int parallelism() {
return Math.max(defaultParallelism, numShufflePartitions);
}
+ public int splitParallelism() {
+ Integer parallelism =
+ confParser
+ .intConf()
+
.sessionConf(SparkSQLProperties.READ_ADAPTIVE_SPLIT_SIZE_PARALLELISM)
+ .parseOptional();
Review Comment:
```java
confParser
.intConf()
.sessionConf(SparkSQLProperties.READ_ADAPTIVE_SPLIT_SIZE_PARALLELISM)
.defaultValue(parallelism())
.parse();
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]