Xiaobing Zhou created HIVE-7276:
-----------------------------------
Summary: BaseSemanticAnalyzer.unescapeSQLString fails to parse
Windows like path
Key: HIVE-7276
URL: https://issues.apache.org/jira/browse/HIVE-7276
Project: Hive
Issue Type: Bug
Components: Query Processor, Windows
Affects Versions: 0.13.0
Environment: Windows Server 2008 R2
Reporter: Xiaobing Zhou
Assignee: Xiaobing Zhou
Priority: Critical
BaseSemanticAnalyzer.unescapeSQLString fails to parse windows-like path, e.g.
C:\Users\xzhou\hworks. This will cause a large quantity of queries on windows
to fail.
For example,
'C:\Users\xzhou\hworks\workspace\hwx-hive-ws\hive\hcatalog\core\target\tmp\hive-junit-960740885870900'
will be parsed as 'C:Usersxzhouhworksworkspacehwx-hive-wshivehcatalogcore
arget mphive-junit-960740885870900', since \ is interpreted as start char in
unicode string, e.g. \002 for delimiter, and thus swallowed.
\0, \b, \n, \r, \t, \Z, and so on within normal Windows like path will also be
swallowed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)