Skip to content

chore: Remove config option for native_iceberg_compat#4019

Open
andygrove wants to merge 12 commits intoapache:mainfrom
andygrove:remove-iceberg-compat
Open

chore: Remove config option for native_iceberg_compat#4019
andygrove wants to merge 12 commits intoapache:mainfrom
andygrove:remove-iceberg-compat

Conversation

@andygrove
Copy link
Copy Markdown
Member

@andygrove andygrove commented Apr 21, 2026

Which issue does this PR close?

Partially address #4020.

Rationale for this change

Removing support for native_iceberg_compat reduces the maintenance burden of the project.

This PR makes it impossible for users to select native_iceberg_compat and stops running tests for that scan impl.

Subsequent PRs will remove the implementation code.

What changes are included in this PR?

  • COMET_NATIVE_SCAN_IMPL config now only allows auto or native_datafusion
  • CometScanRule no longer uses the value of config option COMET_NATIVE_SCAN_IMPL and just uses native_datafusion scan
  • Tests have been updated to stop testing with native_iceberg_compat
  • Tests that were specific to native_iceberg_compat have been removed
  • Golden files regenerated - we no longer generate different versions per scan impl
  • Updated documentation

How are these changes tested?

@andygrove andygrove marked this pull request as ready for review April 21, 2026 15:35
@comphead
Copy link
Copy Markdown
Contributor

Thanks @andygrove 👀

Copy link
Copy Markdown
Contributor

@mbutrovich mbutrovich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @andygrove, let's get that CI matrix and tech debt down.

Copy link
Copy Markdown
Contributor

@comphead comphead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it is LGTM, I was thinking if we need it for some debug/benchmark usecases but nothing comes to my head. So let it go

@parthchandra
Copy link
Copy Markdown
Contributor

Is there still a functionality gap between native_iceberg_compat and native_datafusion? I see some tests with IgnoreCometNativeDataFusion in the diff files.

@andygrove
Copy link
Copy Markdown
Member Author

andygrove commented Apr 21, 2026

Is there still a functionality gap between native_iceberg_compat and native_datafusion? I see some tests with IgnoreCometNativeDataFusion in the diff files.

% grep "IgnoreCometNativeDataFusion(\"" dev/diffs/3.5.8.diff
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3442")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+      IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {
+    IgnoreCometNativeDataFusion("https://github.com/apache/datafusion-comet/issues/3720")) {

So #3720 and #3442. We should be able resolve #3442 now that #4011 is merged.

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.

4 participants