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

    https://github.com/apache/spark/pull/21798#discussion_r203159474
  
    --- Diff: 
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroFileFormat.scala ---
    @@ -276,10 +274,15 @@ private[avro] object AvroFileFormat {
         }
       }
     
    -  def ignoreFilesWithoutExtensions(conf: Configuration): Boolean = {
    -    // Files without .avro extensions are not ignored by default
    -    val defaultValue = false
    +  def ignoreExtension(conf: Configuration, options: Map[String, String]): 
Boolean = {
    --- End diff --
    
    Could we have a class `AvroOptions` like what we are doing for the other 
built-in data sources?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to