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

Timestamp timezone conversion causes a crash

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.8.0
    • Impala 2.8.0
    • Backend

    Description

      The following query causes a crash:

      select from_utc_timestamp(CAST("1400-01-01 05:00:00" as TIMESTAMP), "PST")
      

      from impalad.ERROR:

      terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::gregorian::bad_year> >'
        what():  Year is out of valid range: 1400..10000
      

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarasbob Taras Bobrovytsky
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: