cloud-fan commented on a change in pull request #24029: SPARK-27108: Add parsed
SQL plans for create, CTAS.
URL: https://github.com/apache/spark/pull/24029#discussion_r264512238
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -1860,4 +1861,193 @@ class AstBuilder(conf: SQLConf) extends
SqlBaseBaseVisitor[AnyRef] with Logging
val structField = StructField(identifier.getText, typedVisit(dataType),
nullable = true)
if (STRING == null) structField else
structField.withComment(string(STRING))
}
+
+ /**
Review comment:
I didn't review this file carefully, assuming it's just copy-paste code from
`SparkSqlAstBuilder`
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]