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

IllegalStateException when ordering by struct field

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: Impala 2.2
    • Fix Version/s: Impala 2.3.0
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: