FANNG1 opened a new issue, #4386:
URL: https://github.com/apache/gravitino/issues/4386
### Version
main branch
### Describe what's wrong
spark connector build failed with scala 2.13
### Error message and/or stacktrace
```
/Users/fanng/opensource/gravitino/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/iceberg/extensions/IcebergExtendedDataSourceV2Strategy.java:66:
错误:
IcebergExtendedDataSourceV2Strategy中的apply(LogicalPlan)无法覆盖GenericStrategy中的apply(LogicalPlan)
public Seq<SparkPlan> apply(LogicalPlan plan) {
^
返回类型scala.collection.Seq<SparkPlan>与scala.collection.immutable.Seq<SparkPlan>不兼容
其中, PhysicalPlan是类型变量:
PhysicalPlan扩展已在类 GenericStrategy中声明的TreeNode<PhysicalPlan>
/Users/fanng/opensource/gravitino/spark-connector/spark-common/src/main/java/org/apache/gravitino/spark/connector/iceberg/extensions/IcebergExtendedDataSourceV2Strategy.java:65:
错误: 方法不会覆盖或实现超类型的方法
@Override
^
```
### How to reproduce
./gradlew clean :spark-connector:spark-runtime-3.4:build -PscalaVersion=2.13
-PjdkVersion=17
### Additional context
_No response_
--
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]