Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-9536

Return type of window start/end functions is incorrectly inferred to be INT64

Details

    • Improvement
    • Status: Resolved
    • P2
    • Resolution: Fixed
    • None
    • 2.21.0
    • dsl-sql-zetasql
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              robinyqiu Robin Qiu
              robinyqiu Robin Qiu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m