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

Kenneth Knowles commented on BEAM-9191:
---------------------------------------

This issue is assigned but has not received an update in 30 days so it has been 
labeled "stale-assigned". If you are still working on the issue, please give an 
update and remove the label. If you are no longer working on the issue, please 
unassign so someone else may work on it. In 7 days the issue will be 
automatically unassigned.

> CAST does not work in some cases due to bugs in Calcite unparsing
> -----------------------------------------------------------------
>
>                 Key: BEAM-9191
>                 URL: https://issues.apache.org/jira/browse/BEAM-9191
>             Project: Beam
>          Issue Type: Improvement
>          Components: dsl-sql-zetasql
>            Reporter: Robin Qiu
>            Assignee: Robin Qiu
>            Priority: P3
>              Labels: stale-assigned
>
> For example:
> "CAST(xxx AS TIMESTAMP)" is unparsed to "CAST(xxx AS TIMESTAMP(0))"
> The fix is already in the newest version of BigQuerySqlDialect.java in 
> Calcite (using 
> [SqlAlienSystemTypeNameSpec|https://github.com/apache/calcite/blob/3621b61ea0bca953652a2e6d1838e5a296c6a007/core/src/main/java/org/apache/calcite/sql/dialect/BigQuerySqlDialect.java#L293]),
>  so this issue will be fixed after we update our vendored Calcite version.
> I tried to patch the change to BeamBigQuerySqlDialect.java (similar to what 
> we did for other features) but this change is very large (multiple new 
> classes) to patch.
> cc: [~apilloud]



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

Reply via email to