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

    https://github.com/apache/spark/pull/16003#discussion_r89511159
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/MetastoreDataSourcesSuite.scala
 ---
    @@ -1370,47 +1370,4 @@ class MetastoreDataSourcesSuite extends QueryTest 
with SQLTestUtils with TestHiv
           sparkSession.sparkContext.conf.set(DEBUG_MODE, previousValue)
         }
       }
    -
    -  test("SPARK-17470: support old table that stores table location in 
storage properties") {
    -    withTable("old") {
    -      withTempPath { path =>
    -        Seq(1 -> "a").toDF("i", "j").write.parquet(path.getAbsolutePath)
    -        val tableDesc = CatalogTable(
    -          identifier = TableIdentifier("old", Some("default")),
    -          tableType = CatalogTableType.EXTERNAL,
    -          storage = CatalogStorageFormat.empty.copy(
    -            properties = Map("path" -> path.getAbsolutePath)
    -          ),
    -          schema = new StructType(),
    -          properties = Map(
    -            HiveExternalCatalog.DATASOURCE_PROVIDER -> "parquet",
    -            HiveExternalCatalog.DATASOURCE_SCHEMA ->
    -              new StructType().add("i", "int").add("j", "string").json))
    -        hiveClient.createTable(tableDesc, ignoreIfExists = false)
    -        checkAnswer(spark.table("old"), Row(1, "a"))
    -      }
    -    }
    -  }
    -
    -  test("SPARK-18464: support old table which doesn't store schema in table 
properties") {
    --- End diff --
    
    it's covered by the new test suite


---
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