Yueyang Qiu created BEAM-9536:
---------------------------------

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


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)

Reply via email to