You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gluten.apache.org by "malinjawi (via GitHub)" <gi...@apache.org> on 2026/08/27 09:26:03 UTC

[I] [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations [gluten]

malinjawi opened a new issue, #12912:
URL: https://github.com/apache/gluten/issues/12912

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   After #12823, Gluten automatically enables `IcebergSparkSessionExtensions` whenever Iceberg is on the classpath.
   
   This affects every Spark session, including non-Iceberg DataSource V2 tables. With Spark 3.5 and Iceberg 1.10.0, Iceberg's row-lineage rules can throw a `MatchError` during `UPDATE` and `MERGE`. The Iceberg parser can also unexpectedly wrap other configured parsers.
   
   Expected behavior: Iceberg extensions should only be enabled when explicitly configured by an Iceberg application.
   
   Suggested fix:
   
   1. Stop registering the Iceberg extension globally.
   2. Configure it explicitly in Iceberg tests and applications.
   3. Add the Iceberg runtime to the `gluten-ut` Iceberg profile.
   
   Community CI missed this because the Iceberg runtime was not on the `gluten-ut` test classpath, so the Iceberg component remained inactive.
   
   
   ### Gluten version
   
   main branch
   
   ### Spark version
   
   Spark-3.5.x
   
   ### Spark configurations
   
   spark.plugins=org.apache.gluten.GlutenPlugin
   Iceberg runtime 1.10.0 is present on the classpath
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   ```bash
   scala.MatchError:
   org.apache.spark.sql.connector.catalog.InMemoryRowLevelOperationTable
     at org.apache.spark.sql.catalyst.analysis.RewriteOperationForRowLineage.shouldUpdatePlan
     at org.apache.spark.sql.catalyst.analysis.RewriteMergeIntoTableForRowLineage.apply
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations [gluten]

Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan commented on issue #12912:
URL: https://github.com/apache/gluten/issues/12912#issuecomment-5603050860

   closing as this is fixed


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations [gluten]

Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan closed issue #12912: [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations
URL: https://github.com/apache/gluten/issues/12912


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations [gluten]

Posted by "infvg (via GitHub)" <gi...@apache.org>.
infvg commented on issue #12912:
URL: https://github.com/apache/gluten/issues/12912#issuecomment-5438285205

   https://github.com/apache/gluten/pull/12913 <- revert PR


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org


Re: [I] [VL][Iceberg] Automatically registered Iceberg extensions break non-Iceberg DataSource V2 operations [gluten]

Posted by "zhouyuan (via GitHub)" <gi...@apache.org>.
zhouyuan commented on issue #12912:
URL: https://github.com/apache/gluten/issues/12912#issuecomment-5437067049

   Cc: @infvg 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@gluten.apache.org
For additional commands, e-mail: commits-help@gluten.apache.org