Page MenuHomeSoftware Heritage

athena: Fix create_table to work with restricted permissions
ClosedPublic

Authored by vlorentz on Nov 10 2022, 10:12 AM.

Details

Summary

For some reason, using a non-existing database works when working with
credentials with unnecessarily high privileges (though it is not clear
to me which permissions allow this).

Diff Detail

Repository
rDDATASET Datasets
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 32762
Build 51330: Phabricator diff pipeline on jenkinsJenkins console · Jenkins
Build 51329: arc lint + arc unit

Event Timeline

Build is green

Patch application report for D8827 (id=31822)

Rebasing onto b2ae082661...

Current branch diff-target is up to date.
Changes applied before test
commit 5087a463974e548d78cb169264bb78935428e4a6
Author: Valentin Lorentz <vlorentz@softwareheritage.org>
Date:   Thu Nov 10 10:11:51 2022 +0100

    athena: Fix create_table to work with restricted permissions
    
    For some reason, using a non-existing database works when working with
    credentials with unnecessarily high privileges (though it is not clear
    to me which permissions allow this).

See https://jenkins.softwareheritage.org/job/DDATASET/job/tests-on-diff/157/ for more details.

This revision is now accepted and ready to land.Nov 10 2022, 3:27 PM