rdblue commented on a change in pull request #25040: [SPARK-28238][SQL]
Implement DESCRIBE TABLE for Data Source V2 Tables.
URL: https://github.com/apache/spark/pull/25040#discussion_r300840585
##########
File path:
sql/core/src/main/scala/org/apache/spark/sql/execution/SparkSqlParser.scala
##########
@@ -336,8 +337,8 @@ class SparkSqlAstBuilder(conf: SQLConf) extends
AstBuilder(conf) {
if (ctx.partitionSpec != null) {
throw new ParseException("DESC TABLE COLUMN for a specific partition
is not supported", ctx)
} else {
- DescribeColumnCommand(
- visitTableIdentifier(ctx.tableIdentifier),
Review comment:
Now that these rules create `DescribeColumnStatement` and
`DescribeTableStatement`, they should be moved into Catalyst. There isn't
anything specific to the implementation any more.
----------------------------------------------------------------
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]