Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-19976 FLIP-136: Improve interoperability between DataStream and Table API
  3. FLINK-22378

Type mismatch when declaring SOURCE_WATERMARK on TIMESTAMP_LTZ column

    XMLWordPrintableJSON

Details

    Description

      The following schema cannot be resolved currently:

      Schema.newBuilder()
          .columnByMetadata("rowtime", DataTypes.TIMESTAMP_LTZ(3))
          .watermark("rowtime", "SOURCE_WATERMARK()")
          .build()
      

      It leads to:

      The watermark output type TIMESTAMP(3) is different from input time filed type TIMESTAMP_LTZ(3).
      

      Attachments

        Issue Links

          Activity

            People

              twalthr Timo Walther
              twalthr Timo Walther
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: