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

Distant timestamp in GROUP BY reliably crashes node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Duplicate
    • Impala 2.3.0
    • Impala 2.5.0, Impala 2.3.4
    • Backend
    • impalad version 2.3.0, cdh5.5.0

    Description

      This query reliably crashes Impala:

      SELECT CAST(1312822084003 as timestamp) FROM <table> GROUP BY 1

      And this error is logged:

      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

      However this query works just fine:
      SELECT CAST(1312822084003 as timestamp)

      Attachments

        Issue Links

          Activity

            People

              caseyc casey
              asekine_impala_1f39 Andreas Sekine
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: