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

bug with describe and reserved keyword

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Duplicate
    • None
    • 0.13.0
    • Parser
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: