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

Usage of TRUNC with string timestamp reliably crashes node

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 1.4
    • Impala 2.0
    • None
    • None
    • cdh5.1.0 on ubuntu, from packages

    Description

      Running the following query reliably crashes the node it is run on:

      [impala1:21000] > select trunc('2014-07-22 01:34:55 +0100', 'year');
      Query: select trunc('2014-07-22 01:34:55 +0100', 'year')
      Error communicating with impalad: TSocket read 0 bytes
      Not connected (use CONNECT to establish a connection)
      

      This error is in the impalad log:

      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

          There are no Sub-Tasks for this issue.

          Activity

            People

              victor.bittorf_impala_fcb6 Victor Bittorf
              colinmarc Colin Marc
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: