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

Use default conversion class LocalDate/LocalTime/LocalDateTime for DateType/TimeType/TimestampType in blink

    XMLWordPrintableJSON

Details

    Description

      Now we still use java.sql.Timestamp to be default conversion class for TimestampType.

      We should use design of new Type System to use java.time.Local***.

      NOTE, This may affect user behaviour:

      eg: UDF with eval(Object o), now will pass a java.time.Local*** instead of java.sql.**.

      Compatibility method: use DataType.bridgedTo(java.sql.**.class);

      Attachments

        Issue Links

          Activity

            People

              lzljs3620320 Jingsong Lee
              lzljs3620320 Jingsong Lee
              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 - 20m
                  20m