hililiwei commented on code in PR #6728:
URL: https://github.com/apache/iceberg/pull/6728#discussion_r1095393403


##########
spark/v3.3/spark-extensions/src/main/scala/org/apache/spark/sql/catalyst/parser/extensions/IcebergSparkSqlExtensionsParser.scala:
##########
@@ -206,9 +206,10 @@ class IcebergSparkSqlExtensionsParser(delegate: 
ParserInterface) extends ParserI
             normalized.contains("write unordered") ||
             normalized.contains("set identifier fields") ||
             normalized.contains("drop identifier fields") ||
-            normalized.contains("create branch"))) ||
-            normalized.contains("replace branch")
-
+            isSnapshotRefDdl(normalized)))
+  }
+  private def isSnapshotRefDdl(normalized: String): Boolean = {

Review Comment:
   Add a blank line?



-- 
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

Reply via email to