Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2293

Add Instant parameter type to withTimestamp method to avoid ms precision loss

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    Description

      Description

      TCK recordbuilder loose precision for java.sql.Timestamp which allow to exceed millisecond (nano seconds were not supported)
      https://github.com/Talend/component-runtime/blob/master/component-runtime-impl/src/main/java/org/talend/sdk/component/runtime/record/RecordImpl.java#L395

      We should update this method to not miss precision before using the API (record builder).

      Applied Solution

      Add Instant parameter type to withTimestamp method to avoid ms precision loss

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              wwang Wei Wang
              emmanuel gallois, Wei Wang, Yueyan Yin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: