register
register copied to clipboard
Athena database setting is ignored
The Athena database setting, environment variable ATHENA_DATABASE, is ignored, at least in Ingestor OC. This has resulted in the default database being written to, despite it being set in production.
All use of Athena should be checked, and this fixed, so the database can be set properly. It's probably much more hassle than it's worth to migrate the existing tables, however, so production can then be updated to lock in the current behaviour. Fixing this would allow development to use a different database to production, however, and it's against expectations that it gets ignored.
This was discovered during https://github.com/openownership/register-ingester-oc/issues/19 .