Skip to content

feat: recognize SparkCopyOnWriteScan as a native Iceberg scan - #5320

Open
unikdahal wants to merge 1 commit into
apache:mainfrom
unikdahal:feature/scan-allowlist
Open

feat: recognize SparkCopyOnWriteScan as a native Iceberg scan #5320
unikdahal wants to merge 1 commit into
apache:mainfrom
unikdahal:feature/scan-allowlist

Conversation

@unikdahal

Copy link
Copy Markdown

Which issue does this PR close?

Closes #5319.

Rationale for this change

Iceberg's MERGE/UPDATE/DELETE target tables scan through SparkCopyOnWriteScan, which
extends the same SparkPartitioningAwareScan base as the already-supported SparkBatchQueryScan
but wasn't in Comet's recognized scan set, so it always fell back to Spark.

What changes are included in this PR?

Add SparkCopyOnWriteScan to IcebergReflection.ICEBERG_SCAN_CLASSES.

How are these changes tested?

verified manually against a real Iceberg REST catalog.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support Iceberg SparkCopyOnWriteScan in IcebergReflection.ICEBERG_SCAN_CLASSES

1 participant