cloud-fan commented on a change in pull request #26736: [SPARK-30098][SQL] Use
default datasource as provider for CREATE TABLE syntax
URL: https://github.com/apache/spark/pull/26736#discussion_r353748634
##########
File path:
sql/hive/src/test/scala/org/apache/spark/sql/hive/HiveMetastoreCatalogSuite.scala
##########
@@ -322,40 +329,47 @@ class DataSourceWithHiveMetastoreCatalogSuite
}
test("SPARK-27592 set the partitioned bucketed data source table SerDe
correctly") {
- val provider = "parquet"
- withTable("t") {
- spark.sql(
- s"""
- |CREATE TABLE t
- |USING $provider
- |PARTITIONED BY (p)
- |CLUSTERED BY (key)
- |SORTED BY (value)
- |INTO 2 BUCKETS
- |AS SELECT key, value, cast(key % 3 as string) as p FROM src
Review comment:
is it because of `src` again?
----------------------------------------------------------------
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]