Having populated data using the sockpuppet_import user, we need to create indexes on the new data imported - would it be possible to have INDEX granted to the same user?
Currently we cannot create indices:
mysql:sockpuppet_import@m2-master.eqiad.wmnet [sockpuppet]> CREATE INDEX IF NOT EXISTS `ix_coedit_user_text` ON `sockpuppet`.`coedit` (user_text); ERROR 1142 (42000): INDEX command denied to user ‘sockpuppet_import’@‘10.64.0.135’ for table ‘coedit’
These are the operations the sockpuppet_import user executes, just for reference: https://gerrit.wikimedia.org/r/plugins/gitiles/mediawiki/services/similar-users/+/refs/heads/main/migrations/create.sql