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

    https://github.com/apache/spark/pull/21798#discussion_r203946680
  
    --- Diff: 
external/avro/src/main/scala/org/apache/spark/sql/avro/AvroFileFormat.scala ---
    @@ -275,10 +273,12 @@ 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: AvroOptions): Boolean 
= {
    --- End diff --
    
    Can we move this to `object AvroOptions`?


---

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

Reply via email to