You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2019/11/28 14:20:00 UTC

[jira] [Created] (IMPALA-9206) SQL:2016 datetime patterns: Backslash with single quote is parsed incorrectly

Gabor Kaszab created IMPALA-9206:
------------------------------------

             Summary: 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


Copy-paste a review comment from [~ajeges]:

I've found one more anomaly about apostrophe separator:

This is succeeding although \ is not a separator:
> select cast("2010\\'02-01" as date FORMAT "YYYY'MM-DD");

This works too;
> select cast("2010\\\'02-01" as date FORMAT "YYYY'MM-DD");

This fails:
> select cast("2010\\\\'02-01" as date FORMAT "YYYY'MM-DD");



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org