Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
b7c7559
feat: add native Rust Iceberg compaction with DataFusion and JNI bridge
Shekharrajak Feb 14, 2026
9c01c57
feat: add Scala JNI interface and CometNativeCompaction for Iceberg
Shekharrajak Feb 14, 2026
80051d0
feat: add COMET_ICEBERG_COMPACTION_ENABLED config option
Shekharrajak Feb 14, 2026
9dca0f3
test: add Iceberg compaction unit tests and TPC-H benchmark
Shekharrajak Feb 14, 2026
1df0011
test: add comprehensive Iceberg compaction tests for partitions, sche…
Shekharrajak Feb 14, 2026
ad88f6e
test: add file count validation and Spark vs Native comparison test
Shekharrajak Feb 14, 2026
9573823
fix: scalastyle errors - remove unused imports and unnecessary string…
Shekharrajak Feb 16, 2026
b9b015c
fix: Scala 2.13 compilation errors and unused parameter warnings
Shekharrajak Feb 16, 2026
326e6cc
fix: Scala 2.13 compilation errors and unused parameter warnings
Shekharrajak Feb 16, 2026
5435d7b
Merge upstream/main into feature/iceberg-compaction-benchmark
Shekharrajak Feb 16, 2026
aa78c26
feat: move CometNativeCompaction to main scope with provided Iceberg dep
Shekharrajak Feb 16, 2026
23a8dd2
fix: add enforcer ignore for Iceberg uber jar duplicate classes
Shekharrajak Feb 16, 2026
38095c3
feat: add CometCompactionRule to intercept CALL rewrite_data_files
Shekharrajak Feb 16, 2026
e2e9c33
test: add integration tests for CALL rewrite_data_files procedure
Shekharrajak Feb 16, 2026
3af0b12
Merge upstream/main into feature/iceberg-compaction-benchmark
Shekharrajak Feb 25, 2026
1baacaa
fix(build): add enforcer ignores for iceberg-spark-runtime shaded cla…
Shekharrajak Feb 25, 2026
9f53ca9
Merge branch 'main' into feature/iceberg-compaction-benchmark
Shekharrajak Feb 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions common/src/main/scala/org/apache/comet/CometConf.scala
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,18 @@ object CometConf extends ShimCometConf {
.booleanConf
.createWithDefault(false)

val COMET_ICEBERG_COMPACTION_ENABLED: ConfigEntry[Boolean] =
conf("spark.comet.iceberg.compaction.enabled")
.category(CATEGORY_EXEC)
.doc(
"Whether to enable Comet-accelerated Iceberg compaction. When enabled, " +
"CALL rewrite_data_files() is intercepted and executed via Comet's native " +
"Rust/DataFusion engine for direct Parquet read/write, bypassing Spark's " +
"DAG execution. Only bin-pack strategy is supported; sort and z-order " +
"fall back to Spark's default. Requires Iceberg on the classpath. Experimental.")
.booleanConf
.createWithDefault(false)

val COMET_ICEBERG_DATA_FILE_CONCURRENCY_LIMIT: ConfigEntry[Int] =
conf("spark.comet.scan.icebergNative.dataFileConcurrencyLimit")
.category(CATEGORY_SCAN)
Expand Down
1 change: 1 addition & 0 deletions native/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions native/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ object_store_opendal = {version = "0.55.0", optional = true}
hdfs-sys = {version = "0.3", optional = true, features = ["hdfs_3_3"]}
opendal = { version ="0.55.0", optional = true, features = ["services-hdfs"] }
iceberg = { workspace = true }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
uuid = "1.21.0"

Expand Down
Loading