Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/14155#discussion_r74166832
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveCommandSuite.scala
 ---
    @@ -18,21 +18,32 @@
     package org.apache.spark.sql.hive.execution
     
     import org.apache.spark.sql.{AnalysisException, QueryTest, Row, SaveMode}
    +import org.apache.spark.sql.catalyst.TableIdentifier
     import org.apache.spark.sql.catalyst.analysis.NoSuchTableException
    -import org.apache.spark.sql.execution.command.CreateDataSourceTableUtils._
    +import org.apache.spark.sql.catalyst.catalog.{CatalogStorageFormat, 
CatalogTable, CatalogTableType}
     import org.apache.spark.sql.hive.test.TestHiveSingleton
     import org.apache.spark.sql.test.SQLTestUtils
    +import org.apache.spark.sql.types.StructType
     
     class HiveCommandSuite extends QueryTest with SQLTestUtils with 
TestHiveSingleton {
       import testImplicits._
     
       protected override def beforeAll(): Unit = {
         super.beforeAll()
    -    sql(
    -      """
    -        |CREATE TABLE parquet_tab1 (c1 INT, c2 STRING)
    -        |USING org.apache.spark.sql.parquet.DefaultSource
    -      """.stripMargin)
    --- End diff --
    
    no way. The CREATE TABLE syntax for data source table doesn't allow specify 
table properties and we didn't support creating data source table using session 
catalog before because the hive hacks are in command.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to