Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-17174

Conversion to relational algebra failed to preserve datatypes when using Table API but succeed when using SQL query

    XMLWordPrintableJSON

Details

    Description

      I read data from kafka source and the source table has the fields of 'ts' which has the row time attributes, after that I  add an column whose type is int and default value is 0. After that, the kafka source will be join with a table. And the code is below:

       The Error is :

      But when I use SqlQuery, it works:

      Attachments

        1. image-2020-04-16-12-54-19-574.png
          1.07 MB
          Yiwen Tu
        2. image-2020-04-16-13-08-33-752.png
          308 kB
          Yiwen Tu
        3. image-2020-04-16-13-08-59-149.png
          134 kB
          Yiwen Tu
        4. image-2020-04-16-13-12-32-212.png
          75 kB
          Yiwen Tu

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yiwen Yiwen Tu
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: