[
https://issues.apache.org/jira/browse/BEAM-9536?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yueyang Qiu updated BEAM-9536:
------------------------------
Fix Version/s: (was: 2.20.0)
2.21.0
> Return type of window start/end functions is incorrectly inferred to be INT64
> -----------------------------------------------------------------------------
>
> Key: BEAM-9536
> URL: https://issues.apache.org/jira/browse/BEAM-9536
> Project: Beam
> Issue Type: Improvement
> Components: dsl-sql-zetasql
> Reporter: Yueyang Qiu
> Assignee: Yueyang Qiu
> Priority: Major
> Fix For: 2.21.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Our current implementation does not have the correct return type information
> of the window start/end functions (e.g. TUMBLE_START).
> LOC that cause the problem:
> [https://github.com/apache/beam/blob/646f596988be9d6a739090f48d2fed07c8dfc17c/sdks/java/extensions/sql/zetasql/src/main/java/org/apache/beam/sdk/extensions/sql/zetasql/SqlAnalyzer.java#L62]
> We should specify the return type explicitly here in the CREATE statements.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)