Github user HyukjinKwon commented on a diff in the pull request:
https://github.com/apache/spark/pull/16586#discussion_r96149617
--- Diff:
sql/hive/src/test/scala/org/apache/spark/sql/hive/execution/HiveDDLSuite.scala
---
@@ -221,8 +221,8 @@ class HiveDDLSuite
sql(
s"""
|ALTER TABLE $tab ADD
- |PARTITION (ds='2008-04-08', hr=11) LOCATION '$part1Path'
- |PARTITION (ds='2008-04-08', hr=12) LOCATION '$part2Path'
+ |PARTITION (ds='2008-04-08', hr=11) LOCATION
'${part1Path.toURI}'
--- End diff --
It seems due to the parser. If the path is something like `C:\tmp\b\c`,
then, it goes like `C: mpbc` (escaping). To deal with this, we should make
it `C:\\tmp\\b\\c` or URI. The simplest choice seems to use URI unless it is
dedicated test to such case.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]