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

    https://github.com/apache/spark/pull/20165#discussion_r160088784
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/orc/HiveOrcSourceSuite.scala 
---
    @@ -62,6 +64,33 @@ class HiveOrcSourceSuite extends OrcSuite with 
TestHiveSingleton {
            """.stripMargin)
       }
     
    +  test("SPARK-22972: hive orc source") {
    +    val tableName = "normal_orc_as_source_hive"
    +    withTable(tableName) {
    +
    +      sql(
    +        s"""CREATE TABLE $tableName
    +           |USING org.apache.spark.sql.hive.orc
    +           |OPTIONS (
    +           |  PATH '${new File(orcTableAsDir.getAbsolutePath).toURI}'
    +           |)
    +       """.stripMargin)
    --- End diff --
    
    Be careful about the indents.


---

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

Reply via email to