Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-9298

Support reading alternate timestamp formats

    XMLWordPrintableJSON

Details

    Description

      There are some users who want to be able to parse ISO-8601 timestamps, as well to set their own custom timestamp formats. We may be able to support this in LazySimpleSerDe through the use of a SerDe parameter to specify one or more alternative timestamp patterns to use to parse timestamp values from string.
      If we are doing this it might also be nice to work in support for HIVE-3844, to parse numeric strings as timestamp by treating the numeric value as millis since Unix epoch. This can be enabled through the SerDe params as well.

      Attachments

        1. HIVE-9298.1.patch
          92 kB
          Jason Dere
        2. HIVE-9298.2.patch
          94 kB
          Jason Dere
        3. HIVE-9298.3.patch
          120 kB
          Jason Dere

        Issue Links

          Activity

            People

              jdere Jason Dere
              jdere Jason Dere
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: