Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-10326

PrincipalPrivilegeTree doesn't handle empty string and wildcards correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • Impala 3.4.0
    • None
    • Catalog

    Description

      Two bugs slipped through the tests in IMPALA-9242:
      1. It assumes that unfilled elements in a privilege (e.g. table in a database privilege) are null, which is true in FE tests, but it is an empty string when the privilege comes from SentryPrivilege.
      2. wildcards (e.g. * in server=server1->db=tpcds->table=*) are not handled well in the tree - it will be added as a table level privilege, while it should be added as a database-wide privilege

      Attachments

        Issue Links

          Activity

            People

              stigahuang Quanlong Huang
              csringhofer Csaba Ringhofer
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: