Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2860

allow Impala to interpret "0001-01-01" and later as a date

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.2.2
    • None
    • Backend
    • None

    Description

      scenario:

      create table foo
      stored as parquet
      as
      select cast('0001-01-01 00:00:00' as timestamp) ts;

      result:

      Year is out of valid range: 1400..10000

      importing lots of data from mainframe systems; the default date on these mainframes is "0001-01-01". As it is, when impala interprets these dates into a timestamp field, it is converted to null.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bgitline@cloudera.com_impala_1214 Boris Gitline
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: