This is an automated email from the ASF dual-hosted git repository.
yihua pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new 1f48e3f7e20 [HUDI-6862] Replace directory connector markers in
TestSqlStatement (#9458)
1f48e3f7e20 is described below
commit 1f48e3f7e20a7b036526d34511c24a70dd1f9b3d
Author: empcl <[email protected]>
AuthorDate: Fri Sep 15 09:30:42 2023 +0800
[HUDI-6862] Replace directory connector markers in TestSqlStatement (#9458)
---
.../src/test/scala/org/apache/hudi/functional/TestSqlStatement.scala | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git
a/hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSqlStatement.scala
b/hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSqlStatement.scala
index f8a9cf5fb06..e120cc00fc5 100644
---
a/hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSqlStatement.scala
+++
b/hudi-spark-datasource/hudi-spark/src/test/scala/org/apache/hudi/functional/TestSqlStatement.scala
@@ -40,7 +40,9 @@ class TestSqlStatement extends HoodieSparkSqlTestBase {
withTempDir { tmp =>
val params = Map(
"tableType" -> tableType,
- "tmpDir" -> tmp.getCanonicalPath
+ "tmpDir" -> {
+ tmp.getCanonicalPath.replace('\\', '/')
+ }
)
execSqlFile("/sql-statements.sql", params)
}