felipepessoto opened a new issue, #4963:
URL: https://github.com/apache/incubator-gluten/issues/4963

   ### Backend
   
   VL (Velox)
   
   ### Bug description
   
   The issue happens when running this Delta unit test with Gluten/Velox:
   
   
https://github.com/delta-io/delta/blob/074ce173bb070ed60f10e98d3ef7dcc04cc2a744/core/src/test/scala/org/apache/spark/sql/delta/DeltaDataFrameHadoopOptionsSuite.scala#L56
   
   I created a smaller repro using Parquet format:
   
   ```
     test("test123") {
       def myTest() = {
         val fakeFileSystemOptions = Map(
             "fs.myfake.impl" -> classOf[MyFakeFileSystem].getName,
             "fs.myfake.impl.disable.cache" -> "true"
           )
   
           val dir = new File("/tmp/test/")
           val path = s"myfake://${dir.getCanonicalPath}"
   
           spark.range(1, 10)
             .write
             .format("parquet")
             .mode("overwrite")
             .options(fakeFileSystemOptions)
             .save(path)
   
           
spark.read.format("parquet").options(fakeFileSystemOptions).load(path).foreach(_
 => {})
       }
   
       withSQLConf("spark.gluten.enabled" -> "false") {
         myTest()
       }
   
       withSQLConf("spark.gluten.enabled" -> "true") {
         //This one fails
         myTest()
       }
     }
   
   
   
   import org.apache.hadoop.fs.RawLocalFileSystem
   import java.net.URI
   
   object MyFakeFileSystem {
     val scheme = "myfake"
     val uri = URI.create(s"$scheme:///")
   }
   
   /** A fake file system to test whether session Hadoop configuration will be 
picked up. */
   // Can't be an inner class
   class MyFakeFileSystem extends RawLocalFileSystem {
     override def getScheme: String = MyFakeFileSystem.scheme
     override def getUri: URI = MyFakeFileSystem.uri
   }
   ```
   
   Delta: 2.4
   Spark 3.4
   
   ### Spark version
   
   Spark-3.3.x
   
   ### Spark configurations
   
   _No response_
   
   ### System information
   
   _No response_
   
   ### Relevant logs
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to