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

COMPUTE STATS should check for SELECT privilege at analysis

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

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

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment