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

    https://github.com/apache/spark/pull/19448#discussion_r144105439
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/parquet/ParquetFileFormat.scala
 ---
    @@ -138,6 +138,10 @@ class ParquetFileFormat
           conf.setBoolean(ParquetOutputFormat.ENABLE_JOB_SUMMARY, false)
         }
     
    +    require(!conf.getBoolean(ParquetOutputFormat.ENABLE_JOB_SUMMARY, false)
    --- End diff --
    
    `SparkException` is better. Normally, we want to issue a Spark-specific 
exception type.


---

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

Reply via email to