Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-2949

bug with describe and reserved keyword

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: 0.13.0
    • Component/s: Parser
    • Labels:
      None

      Description

      Hi,

      there seems to an issue with the describe statement and using reserved keywords for tablenames.

      Specifically, describe does not seem to work on a table called 'user' even though it's escaped in the query.

      So this works:
      show partitions `user`;

      But this does not work:
      describe `user`;
      FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                faal Fabian Alenius
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: