hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Egmont Koblinger (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-2409) Semicolons in strings/comments are parsed as query-ending.
Date Fri, 27 Jan 2017 12:47:25 GMT

    [ https://issues.apache.org/jira/browse/HIVE-2409?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15842773#comment-15842773
] 

Egmont Koblinger commented on HIVE-2409:
----------------------------------------

I am currently out of the office for an extended period of time. Please send your message
to Vajnorák István at [1]ivajnorak@cloudera.com instead.

----------------------------------------------------------------------------------------
[1] mailto:ivajnorak@cloudera.com


> Semicolons in strings/comments are parsed as query-ending.
> ----------------------------------------------------------
>
>                 Key: HIVE-2409
>                 URL: https://issues.apache.org/jira/browse/HIVE-2409
>             Project: Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Adam Kramer
>
> This fails:
> select '.*? (f_.*?)[ ;$]' from akramer_one_row ;
> This succeeds:
> select '.*? (f_.*?)[ \;$]' from akramer_one_row ;
> ...there is no reasonable syntactic structure that wuold require the escaping of a semicolon
in a '-marked string. The query parser should NOT split on semicolons that are in strings
OR in comments. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message