flipp5b opened a new issue, #15058:
URL: https://github.com/apache/iceberg/issues/15058
### Apache Iceberg version
1.10.0
### Query engine
Spark
### Please describe the bug 🐞
Hey there,
First of all, thanks to all contributors for the great work!
Setup:
- Scala 2.12
- Spark 3.5
- Iceberg Spark Runtime 1.10.0
When I run:
```scala
sparkSession.sql(s"CALL system.rewrite_data_files('$table')")
```
I get the following exception:
```
java.lang.NoClassDefFoundError: scala/jdk/CollectionConverters$
at
org.apache.spark.sql.catalyst.parser.extensions.IcebergSparkSqlExtensionsParser.isIcebergProcedure(IcebergSparkSqlExtensionsParser.scala:161)
at
org.apache.spark.sql.catalyst.parser.extensions.IcebergSparkSqlExtensionsParser.isIcebergCommand(IcebergSparkSqlExtensionsParser.scala:144)
at
org.apache.spark.sql.catalyst.parser.extensions.IcebergSparkSqlExtensionsParser.parsePlan(IcebergSparkSqlExtensionsParser.scala:124)
at
org.apache.spark.sql.SparkSession.$anonfun$sql$5(SparkSession.scala:684)
at
org.apache.spark.sql.catalyst.QueryPlanningTracker.measurePhase(QueryPlanningTracker.scala:138)
```
If you look at the published POM
([central](https://repo1.maven.org/maven2/org/apache/iceberg/iceberg-spark-runtime-3.5_2.12/1.10.0/iceberg-spark-runtime-3.5_2.12-1.10.0.pom)),
there is no `dependencies` section, even though `iceberg-spark-runtime` does
have dependencies, and `scala-collection-compat` is one of them.
This appears to be the same issue as
https://github.com/apache/iceberg/issues/10175 (which was closed for some
reason).
### Willingness to contribute
- [ ] I can contribute a fix for this bug independently
- [ ] I would be willing to contribute a fix for this bug with guidance from
the Iceberg community
- [x] I cannot contribute a fix for this bug at this time
--
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]