huaxingao commented on a change in pull request #35221:
URL: https://github.com/apache/spark/pull/35221#discussion_r786468915
##########
File path:
sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/parser/AstBuilder.scala
##########
@@ -3468,7 +3469,8 @@ class AstBuilder extends SqlBaseBaseVisitor[AnyRef] with
SQLConfHelper with Logg
s"CREATE TEMPORARY TABLE ...$asSelect, use CREATE TEMPORARY VIEW
instead", ctx)
}
- val partitioning = partitionExpressions(partTransforms, partCols, ctx)
+ val partitioning =
+ partitionExpressions(partTransforms, partCols, ctx) ++
bucketSpec.map(_.asTransform)
val tableSpec = TableSpec(bucketSpec, properties, provider, options,
location, comment,
Review comment:
I removed `bucketSpec` from `TableSpec` and restored partition col
names in `CatalogV2Implicits.asPartitionColumns`. Need to change a few tests.
--
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]