You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Yueyang Qiu (Jira)" <ji...@apache.org> on 2020/01/22 00:16:00 UTC

[jira] [Created] (BEAM-9169) Extra character introduced during Calcite unparsing

Yueyang Qiu created BEAM-9169:
---------------------------------

             Summary: Extra character introduced during Calcite unparsing
                 Key: BEAM-9169
                 URL: https://issues.apache.org/jira/browse/BEAM-9169
             Project: Beam
          Issue Type: Improvement
          Components: dsl-sql-zetasql
            Reporter: Yueyang Qiu
            Assignee: Yueyang Qiu


When I am testing query 

`SELECT STRING(TIMESTAMP \"2008-12-25 15:30:00\", \"America/Los_Angeles\")` on `BeamZetaSqlCalcRel` I found that the second string parameter to the function is unparsed to `America\/Los_Angeles` (note an extra backslash character is added). This breaks the ZetaSQL evaluator with error `Syntax error: Illegal escape sequence: \`



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