puchengy opened a new issue, #8004:
URL: https://github.com/apache/iceberg/issues/8004
### Apache Iceberg version
1.3.0 (latest release)
### Query engine
Spark
### Please describe the bug 🐞
running data file rewrite with sort option and encountered
```
java.lang.IllegalStateException: Cannot parse order: parser is not an
Iceberg ExtendedParser
at
org.apache.iceberg.spark.ExtendedParser.parseSortOrder(ExtendedParser.java:64)
at
org.apache.iceberg.spark.procedures.RewriteDataFilesProcedure.checkAndApplyStrategy(RewriteDataFilesProcedure.java:160)
at
org.apache.iceberg.spark.procedures.RewriteDataFilesProcedure.lambda$call$0(RewriteDataFilesProcedure.java:111)
at
org.apache.iceberg.spark.procedures.BaseProcedure.execute(BaseProcedure.java:100)
at
org.apache.iceberg.spark.procedures.BaseProcedure.modifyIcebergTable(BaseProcedure.java:81)
at
org.apache.iceberg.spark.procedures.RewriteDataFilesProcedure.call(RewriteDataFilesProcedure.java:100)
```
This is due to there are more than one sql extensions specified ```
spark.sql.extensions=org.apache.iceberg.spark.extensions.IcebergSparkSessionExtensions,x.y.secondExtensions
```
Line that broke
https://github.com/apache/iceberg/blob/1f1ec4be478feae79b04bcea3e9a8556d8076054/spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/ExtendedParser.java#L55
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]