Uploaded image for project: 'Sentry'
  1. Sentry
  2. SENTRY-620

Allow database prefix in GRANT ON TABLE statement.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently you get the following error if you do the following command.

      0: jdbc:hive2://jrepo2-1.ent.cloudera.com:100> grant select on table testdatabase.j1 to role jrole;
      Error: Error while compiling statement: FAILED: ParseException line 1:29 mismatched input '.' expecting TO near 'testdatabase' in grant privileges (state=42000,code=40000)
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Ryan P Ryan P
                Reporter:
                johndee Johndee Burks
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: