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

Timestamp timezone conversion causes a crash

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Impala 2.8.0
    • Fix Version/s: Impala 2.8.0
    • Component/s: Backend
    • Labels:

      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: