abmo-x commented on code in PR #7363: URL: https://github.com/apache/iceberg/pull/7363#discussion_r1171675982
########## spark/v3.2/spark/src/main/java/org/apache/iceberg/spark/Spark3Util.java: ########## @@ -494,6 +500,16 @@ public static boolean extensionsEnabled(SparkSession spark) { return extensions.contains("IcebergSparkSessionExtensions"); } + public static boolean isPartitioned(SparkSession spark, Path tableLocation) { + try { + return Arrays.stream( + FileSystem.get(spark.sessionState().newHadoopConf()).listStatus(tableLocation)) Review Comment: yes, fixed. Thanks! -- 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