wengh commented on code in PR #50408: URL: https://github.com/apache/spark/pull/50408#discussion_r2020401667
########## sql/api/src/main/scala/org/apache/spark/sql/catalyst/parser/DataTypeAstBuilder.scala: ########## @@ -45,6 +45,70 @@ class DataTypeAstBuilder extends SqlBaseParserBaseVisitor[AnyRef] { withOrigin(ctx)(StructType(visitColTypeList(ctx.colTypeList))) } + override def visitSingleRoutineParamList(ctx: SingleRoutineParamListContext): StructType = { Review Comment: It's checked in [SparkSqlParser.visitCreateUserDefinedFunction](https://github.com/apache/spark/pull/50408/files/94786516bb8403f94d7b5c17309524560b86ddd2#diff-77a9aad2da3dc60210a2c4d2f3165d5f1d0acd54ca4811072a053225170ed748R692-R703). I should add comment in visitStructField to explain -- 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: reviews-unsubscr...@spark.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org