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

bug with describe and reserved keyword

Log workAgile BoardRank to TopRank to BottomBulk Copy AttachmentsBulk Move AttachmentsVotersWatch issueWatchersCreate sub-taskConvert to sub-taskMoveLinkCloneLabelsUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment