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

IllegalStateException when ordering by struct field

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.2
    • Impala 2.3.0
    • None
    • None

    Description

      The error message should be more descriptive, e.g. "Ordering by struct field is not supported"

      [tarmstrong-box.ca.cloudera.com:21000] > create table t (c struct<i:int>) stored as PARQUET;
      Query: create table t (c struct<i:int>) stored as PARQUET

      Fetched 0 row(s) in 0.07s

      [tarmstrong-box.ca.cloudera.com:21000] > select 1 from functional.structs s order by s.col.x;
      Query: select 1 from functional.structs s order by s.col.x
      ERROR: IllegalStateException: getSlotSize() not implemented for type STRUCT<x:STRUCT<x:STRUCT<x:STRUCT<x:STRUCT<x:STRUCT<x:INT>>>>>>

      Attachments

        Issue Links

          Activity

            People

              tarmstrong Tim Armstrong
              tarmstrong Tim Armstrong
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: