You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Xiaobing Zhou (JIRA)" <ji...@apache.org> on 2014/11/02 00:40:34 UTC
[jira] [Resolved] (HIVE-7276)
BaseSemanticAnalyzer.unescapeSQLString fails to parse Windows like path
[ https://issues.apache.org/jira/browse/HIVE-7276?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Xiaobing Zhou resolved HIVE-7276.
---------------------------------
Resolution: Cannot Reproduce
Resolved it since it's not reproducible any more.
> 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.3.4#6332)