huaxingao commented on code in PR #12494: URL: https://github.com/apache/iceberg/pull/12494#discussion_r2040877247
########## spark/v4.0/spark/src/main/java/org/apache/iceberg/spark/SparkUtil.java: ########## @@ -154,8 +154,9 @@ public static Configuration hadoopConfCatalogOverrides(SparkSession spark, Strin // Find keys for the catalog intended to be hadoop configurations final String hadoopConfCatalogPrefix = hadoopConfPrefixForCatalog(catalogName); final Configuration conf = spark.sessionState().newHadoopConf(); + spark - .sqlContext() Review Comment: The generic [abstract class SparkSession](https://github.com/apache/spark/blob/master/sql/api/src/main/scala/org/apache/spark/sql/SparkSession.scala#L63) doesn't have this API `sqlContext` any more -- 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: issues-unsubscr...@iceberg.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org For additional commands, e-mail: issues-h...@iceberg.apache.org