You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2019/11/29 10:50:00 UTC
[jira] [Closed] (IMPALA-9206) SQL:2016 datetime patterns: Backslash
with single quote is parsed incorrectly
[ https://issues.apache.org/jira/browse/IMPALA-9206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Kaszab closed IMPALA-9206.
--------------------------------
Fix Version/s: Not Applicable
Resolution: Duplicate
Actually, this issue was introduced by IMPALA-9131. Since that is still on review I'll provide a fix there and close this one.
> SQL:2016 datetime patterns: Backslash with single quote is parsed incorrectly
> -----------------------------------------------------------------------------
>
> Key: IMPALA-9206
> URL: https://issues.apache.org/jira/browse/IMPALA-9206
> Project: IMPALA
> Issue Type: Bug
> Affects Versions: Impala 3.3.0
> Reporter: Gabor Kaszab
> Assignee: Gabor Kaszab
> Priority: Major
> Fix For: Not Applicable
>
>
> Copy-paste a review comment from [~ajeges]:
> I've found one more anomaly about apostrophe separator:
> This is succeeding although \ is not a separator:
> {code:java}
> > select cast("2010\\'02-01" as date FORMAT "YYYY'MM-DD");
> {code}
> This works too;
> {code:java}
> > select cast("2010\\\'02-01" as date FORMAT "YYYY'MM-DD");
> {code}
> This fails:
> {code:java}
> > select cast("2010\\\\'02-01" as date FORMAT "YYYY'MM-DD");
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)