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

Allow database prefix in GRANT ON TABLE statement.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Not A Problem
    • None
    • 1.4.0
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: