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

Select empty set with no tuples generates an invalidate thrift PlanNode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Blocker
    • Resolution: Fixed
    • Impala 2.0
    • Impala 2.1
    • None
    • None

    Description

      MESSAGE: InternalException: Required field 'row_tuples' was not present! Struct: TPlanNode(node_id:0, node_type:EMPTY_SET_NODE, num_children:0, limit:-1, row_tuples:null, nullable_tuples:null, compact_data:false, label:00:EMPTYSET, label_detail:, estimated_stats:TExecStats(cardinality:0, memory_used:0))
      

      The query is:

      select * from (select 10 as i, 2 as j, '2013' as s) as t where t.i < 10
      

      Although this is a regression from 1.4, this seems like a corner case.

      Attachments

        Activity

          People

            mjacobs Matthew Jacobs
            nong_impala_60e1 Nong Li
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: