Skip to content

Commit 395e900

Browse files
authored
feat: enable native Iceberg reader by default (#3819)
1 parent b80a63d commit 395e900

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

benchmarks/tpc/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ sudo ./drop-caches.sh
179179
python3 run.py --engine comet-iceberg --benchmark tpch
180180
```
181181

182-
The benchmark uses `spark.comet.scan.icebergNative.enabled=true` to enable Comet's native iceberg-rust
183-
integration. Verify native scanning is active by checking for `CometIcebergNativeScanExec` in the
182+
The benchmark uses Comet's native iceberg-rust integration, which is enabled by default.
183+
Verify native scanning is active by checking for `CometIcebergNativeScanExec` in the
184184
physical plan output.
185185

186186
### create-iceberg-tables.py options

common/src/main/scala/org/apache/comet/CometConf.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ object CometConf extends ShimCometConf {
140140
"Iceberg tables are read directly through native execution, bypassing Spark's " +
141141
"DataSource V2 API for better performance.")
142142
.booleanConf
143-
.createWithDefault(false)
143+
.createWithDefault(true)
144144

145145
val COMET_ICEBERG_DATA_FILE_CONCURRENCY_LIMIT: ConfigEntry[Int] =
146146
conf("spark.comet.scan.icebergNative.dataFileConcurrencyLimit")

docs/source/user-guide/latest/iceberg.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ then serialized to Comet's native execution engine (see
2626
[PR #2528](https://github.com/apache/datafusion-comet/pull/2528)).
2727

2828
The example below uses Spark's package downloader to retrieve Comet 0.14.0 and Iceberg
29-
1.8.1, but Comet has been tested with Iceberg 1.5, 1.7, 1.8, 1.9, and 1.10. The native
30-
Iceberg reader is enabled by default.
29+
1.8.1, but Comet has been tested with Iceberg 1.5, 1.7, 1.8, 1.9, and 1.10. The native Iceberg
30+
reader is enabled by default. To disable it, set `spark.comet.scan.icebergNative.enabled=false`.
3131

3232
```shell
3333
$SPARK_HOME/bin/spark-shell \

0 commit comments

Comments
 (0)