When trying to refresh the partitions in a AWS Athena/Glue table I am getting this error
line 1:1: mismatched input 'MSCK'. Expecting: 'ALTER', 'ANALYZE', 'CALL', 'COMMIT', 'CREATE', 'DEALLOCATE', 'DELETE', 'DESC', 'DESCRIBE', 'DROP', 'EXECUTE', 'EXPLAIN', 'GRANT', 'INSERT', 'PREPARE', 'RESET', 'REVOKE', 'ROLLBACK', 'SET', 'SHOW', 'START', 'UNLOAD', 'UPDATE', 'USE',
the command I execute is
MSCK REPAIR TABLE "table_name"
It was working a week ago. I believe there was an update but I cannot find the new/proper way to add new partitions