Github user dongjoon-hyun commented on a diff in the pull request:

    https://github.com/apache/spark/pull/19218#discussion_r144187101
  
    --- Diff: 
sql/hive/src/test/scala/org/apache/spark/sql/hive/InsertSuite.scala ---
    @@ -728,4 +732,254 @@ class InsertSuite extends QueryTest with 
TestHiveSingleton with BeforeAndAfter
           assert(e.contains("mismatched input 'ROW'"))
         }
       }
    +
    +  private def getConvertMetastoreConfName(format: String): String = format 
match {
    +    case "parquet" => "spark.sql.hive.convertMetastoreParquet"
    +    case "orc" => "spark.sql.hive.convertMetastoreOrc"
    +  }
    +
    +  private def getSparkCompressionConfName(format: String): String = format 
match {
    +    case "parquet" => "spark.sql.parquet.compression.codec"
    +    case "orc" => "spark.sql.orc.compression.codec"
    --- End diff --
    
    Here, too.
    - `SQLConf.PARQUET_COMPRESSION.key` instead of 
"spark.sql.parquet.compression.codec"
    - `SQLConf.ORC_COMPRESSION.key` insead of "spark.sql.orc.compression.codec"



---

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

Reply via email to