Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -150,6 +150,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_CSV_V2_NATIVE_ENABLED: ConfigEntry[Boolean] =
conf("spark.comet.scan.csv.v2.enabled")
.category(CATEGORY_TESTING)
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.20.0"

Expand Down
Loading