amogh-jahagirdar commented on code in PR #6752:
URL: https://github.com/apache/iceberg/pull/6752#discussion_r1098229352
##########
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:
No it's wrong, good catch. fixed!
--
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]