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

COMPUTE STATS should check for SELECT privilege at analysis

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • Impala 2.9.0, Impala 2.10.0, Impala 2.11.0
    • Impala 2.13.0, Impala 3.1.0
    • Frontend
    • ghx-label-2

    Description

      COMPUTE STATS execute SELECT child queries. However in the COMPUTE STATS analysis phase, we only register for ALTER privilege. In other words, having only ALTER privilege on the target will pass the COMPUTE STATS analysis phase, but will fail later in the child queries due to insufficient SELECT privilege on the target table. It will be good to fail early at COMPUTE STATS analysis phase by registering both ALTER and SELECT privileges in the COMPUTE STATS analysis phase.

      Attachments

        Activity

          People

            fredyw Fredy Wijaya
            fredyw Fredy Wijaya
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: