Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-3077

SOLR: Type date should be converted into Timestamp

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.7.1, 8.9
    • 8.7
    • Misc. Connectors
    • None

      SOLR translator converts solr's date type into java.sql.Date, but SOLR's date format is rather timestamp[1]. When the solr's date is converted into java.sql.Date, the information about hours,minutes and seconds will be lost.

      [1] "TimestampValue": "1999-12-31T23:00:00Z",

            [TEIID-3077] SOLR: Type date should be converted into Timestamp

            Filip Elias <felias@redhat.com> changed the Status of bug 1129171 from VERIFIED to CLOSED

            RH Bugzilla Integration added a comment - Filip Elias <felias@redhat.com> changed the Status of bug 1129171 from VERIFIED to CLOSED

            Filip Elias <felias@redhat.com> changed the Status of bug 1129171 from ON_QA to VERIFIED

            RH Bugzilla Integration added a comment - Filip Elias <felias@redhat.com> changed the Status of bug 1129171 from ON_QA to VERIFIED

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from MODIFIED to ON_QA

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from MODIFIED to ON_QA

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from ASSIGNED to MODIFIED

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from ASSIGNED to MODIFIED

            changed the type mapping to timestamp

            Steven Hawkins added a comment - changed the type mapping to timestamp

            Yes.

            Just to double check this is an issue with the dynamic vdb import, such that the date/pdate/tdate types should be mapped to timestamp?

            Steven Hawkins added a comment - Just to double check this is an issue with the dynamic vdb import, such that the date/pdate/tdate types should be mapped to timestamp?

            Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from NEW to ASSIGNED

            RH Bugzilla Integration added a comment - Van Halbert <vhalbert@redhat.com> changed the Status of bug 1129171 from NEW to ASSIGNED

              rhn-engineering-shawkins Steven Hawkins
              felias_jira Filip Elias (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: