cloud-fan commented on code in PR #52334:
URL: https://github.com/apache/spark/pull/52334#discussion_r2433590831
##########
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala:
##########
@@ -90,6 +90,17 @@ class AstBuilder extends DataTypeAstBuilder
}
}
+ /**
+ * Get the integer value from an IntegerValueContext after parameter
replacement.
+ * Asserts that parameter markers have been substituted before reaching
AstBuilder.
+ */
+ protected def getIntegerValue(ctx: IntegerValueContext): Int = {
Review Comment:
nit: we can put it in the parent class `DataTypeAstBuilder`, which also
needs to call 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]