Uploaded image for project: 'ORC'
  1. ORC
  2. ORC-340

ConvertTreeReaderFactory does not take into account timezone information

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Not A Problem
    • None
    • None
    • evolution
    • None

    Description

      When converting timestamp/date to string group, toString is called on java.sql.Date and java.sql.Timestamp, which pick up the default time zone to represent the date/time as a String. This can lead to the wrong String representation. See ConvertTreeReaderFactory.StringGroupFromTimestampTreeReader or ConvertTreeReaderFactory.StringGroupFromDateTreeReader.

      StringGroupFromTimestampTreeReader should apply shifting, similar to TreeReaderFactory.TimestampTreeReader.
      StringGroupFromDateTreeReader should use a date formatter in UTC.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jcamachorodriguez Jesus Camacho Rodriguez
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: