Github user gatorsmile commented on a diff in the pull request:

    https://github.com/apache/spark/pull/16787#discussion_r100681309
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/client/VersionsSuite.scala ---
    @@ -649,6 +648,16 @@ class VersionsSuite extends QueryTest with 
SQLTestUtils with TestHiveSingleton w
           }
         }
     
    +    test(s"$version: create table should success to test 
HiveClientImpl.toHiveTable compatible") {
    +      withTable("t", "t1") {
    +        import spark.implicits._
    +        Seq("1").toDF("a").write.saveAsTable("t")
    +        checkAnswer(spark.table("t"), Row("1") :: Nil)
    +
    +        spark.sql("create table t1 as select 2 as a")
    --- End diff --
    
    -> `CREATE TABLE t1 USING parquet AS SELECT 2 AS a`
    
    Could you change the statement and then update the test case name to 
`s"$version: create managed data source tables"`?


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to