RussellSpitzer commented on code in PR #12494:
URL: https://github.com/apache/iceberg/pull/12494#discussion_r2047241074
##########
spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/actions/RewriteDataFilesSparkAction.java:
##########
@@ -106,7 +106,7 @@ public class RewriteDataFilesSparkAction
private boolean caseSensitive;
RewriteDataFilesSparkAction(SparkSession spark, Table table) {
- super(spark.cloneSession());
+ super(((org.apache.spark.sql.classic.SparkSession) spark).cloneSession());
Review Comment:
I'm not sure this is safe to do, again I think we may have an issue with
Spark Connect right? Don't we need to protect against these casts?
--
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]