Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[CARBONDATA-3029][Test] Fix errors in spark datasource tests in windo…
…ws env In current SparkCarbonDataSourceTest, the path specified in creating table and writer in windows env looks like '\D:\xx\xx', this will cause test failure such as "java.lang.IllegalArgumentException: Can not create a Path from an empty string". Here in this commit, we fixed this problem by normalizing the path and convert the separator in path to unix style using carbon's FileFactory. This closes #2835
- Loading branch information
1 parent
d941a5d
commit c58ef59
Showing
2 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters