Github user cloud-fan commented on a diff in the pull request:

    https://github.com/apache/spark/pull/22603#discussion_r223048148
  
    --- Diff: 
sql/core/src/test/scala/org/apache/spark/sql/execution/datasources/FileIndexSuite.scala
 ---
    @@ -257,3 +277,19 @@ class FakeParentPathFileSystem extends 
RawLocalFileSystem {
         URI.create("mockFs://some-bucket")
       }
     }
    +
    +class SpecialBlockLocationFileSystem extends RawLocalFileSystem {
    +
    +  class SpecialBlockLocation(
    +    names: Array[String],
    +    hosts: Array[String],
    +    offset: Long,
    +    length: Long) extends BlockLocation(names, hosts, offset, length)
    +
    +  override def getFileBlockLocations(
    +    file: FileStatus,
    --- End diff --
    
    ditto


---

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

Reply via email to