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

    https://github.com/apache/spark/pull/21667#discussion_r200622296
  
    --- Diff: 
sql/core/src/main/scala/org/apache/spark/sql/execution/datasources/json/JsonFileFormat.scala
 ---
    @@ -148,6 +144,23 @@ class JsonFileFormat extends TextBasedFileFormat with 
DataSourceRegister {
       override def hashCode(): Int = getClass.hashCode()
     
       override def equals(other: Any): Boolean = 
other.isInstanceOf[JsonFileFormat]
    +
    +  override def supportDataType(dataType: DataType, isReadPath: Boolean): 
Boolean = dataType match {
    --- End diff --
    
    Yea, supported types are very specific to datasource's implementation.


---

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

Reply via email to