Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Cannot Reproduce
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Clients
    • Labels:
      None

      Description

      By mistake, if I type the following query: (note that it is x.c3.x.c4 instead of x.c3,x.c4)

      select x.c1,x.c2,x.c3.x.c4 from table x where ...

      I get a bizarre error - class not found exception which takes a long time to debug - the error reporting should be improved

        Activity

        Hide
        Lars Francke added a comment -

        This has been fixed in the meanwhile. I just tested and got this:

        Hive CLI:

        FAILED: SemanticException [Error 10042]: Line 1:7 . Operator is only supported on struct or list of struct types 'x'

        Beeline:

        Error: Error while compiling statement: FAILED: SemanticException [Error 10042]: Line 1:7 . Operator is only supported on struct or list of struct types 'x' (state=42000,code=10042)

        Show
        Lars Francke added a comment - This has been fixed in the meanwhile. I just tested and got this: Hive CLI: FAILED: SemanticException [Error 10042] : Line 1:7 . Operator is only supported on struct or list of struct types 'x' Beeline: Error: Error while compiling statement: FAILED: SemanticException [Error 10042] : Line 1:7 . Operator is only supported on struct or list of struct types 'x' (state=42000,code=10042)

          People

          • Assignee:
            Lars Francke
            Reporter:
            Namit Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development