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


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

Review Comment:
   nit: Is that the right indentation? Seems like every line start from the 
second one needs two spaces before it?
   
   



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

Reply via email to