[Kernel] Cleanup the FileNames.java
utility methods
#3586
Labels
enhancement
New feature or request
good first issue
Good for newcomers
good medium issue
Good for those with Delta Lake experience
kernel
Milestone
Some of the utility methods in FileNames.java take strings and some
Path
s. For string input, it is either the file name or the file path. It is confusing and can easily cause bugs. Unify all APIs to takePath
(we anyway create Path in all places when the utility methods are used)Also, avoid using finding the
/
to figure out the file name. This could be risky. Instead rely on thePath
.The text was updated successfully, but these errors were encountered: