aokolnychyi opened a new pull request, #10315: URL: https://github.com/apache/iceberg/pull/10315
This PR adds a way to validate parsed configs in `SparkConfParser`. It is intended for the following use: ``` public int parquetBatchSize() { return confParser .intConf() .option(SparkReadOptions.VECTORIZATION_BATCH_SIZE) .tableProperty(TableProperties.PARQUET_BATCH_SIZE) .defaultValue(TableProperties.PARQUET_BATCH_SIZE_DEFAULT) .check(value -> value > 0, "Parquet batch size must be > 0") .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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org