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

    https://github.com/apache/spark/pull/21389#discussion_r190136535
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/orc/OrcFileFormat.scala
 ---
    @@ -89,6 +89,8 @@ class OrcFileFormat
           job: Job,
           options: Map[String, String],
           dataSchema: StructType): OutputWriterFactory = {
    +    DataSourceUtils.verifySchema("ORC", dataSchema)
    --- End diff --
    
    yea, that's smart. I will update.


---

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

Reply via email to