mccheah 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_r302233462
##########
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:
Do you mean that `DescribeColumnCommand` and `DescribeTableCommand` should
be moved to Catalyst? The V1 commands depend on a bunch of stuff that's in
core, such as `SparkSession` and `DDLUtils`.
----------------------------------------------------------------
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]