Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-23268

Incorrect mapping for java.util.Date in catalog's ColumnType

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 3.0.0-alpha5
    • 3.0
    • None
    • Fixed Catalog API type mapping.
    • Release Notes Required

    Description

      The catalog API is mapping "java.util.Date" to "date" column type.
      This is incorrect. It should be tagged with a "timestamp" column type because it also has time information.

      I believe there was no intention to map a `java.util.Date` field in the first place. It seems the author wanted to import `java.sql.Date` instead, since there are other classes from the `sql` package mapped and none of the old java classes are mapped.

      Perhaps it is worth to review the parity between the catalog API mappins and the mappings in the ignite-sql package.

       

      Links:

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              tmgodinho Tiago Marques Godinho
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              3 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 - 10m
                  10m