KeiichiHirobe commented on issue #23288: [SPARK-26339][SQL]Throws better 
exception when reading files that start with underscore
URL: https://github.com/apache/spark/pull/23288#issuecomment-450107185
 
 
   I implemented a new behavior and added tests.
   Please check it!
   
   In `checkAndGlobPathIfNecessary`, calling 
`InMemoryFileIndex.bulkListLeafFiles`.
   I am not familiar with cost of calling 
`InMemoryFileIndex.bulkListLeafFiles`, is this expensive?
   
   If so, maybe we should implement a new method in `object InMemoryFileIndex` 
which returns information of filtered out files/directories and whether 
filtered files(regular files) exist or not.
   
   And, please note that I considerd for not only 
`InMemoryFileIndex.shouldFilterOut` but also `PathFilter.accept`.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to