Canadian-Geospatial-Platform / geocore

GeoCore is an Open Source Cloud Native (AWS) Geospatial Catalog | GeoCore est un catalogue géospatial Open Source Cloud Native (AWS)
https://canadian-geospatial-platform.github.io/geocore/
Other
2 stars 4 forks source link

Updating Athena database schema via CloudFormation fails, requiring manual updates #66

Closed bo-lu closed 1 year ago

bo-lu commented 1 year ago

Describe the bug Updating Athena database table schema via CloudFormation fails since the table already exists and currently requires manual SQL updates to add/delete table columns.

To Reproduce Run geocore-stack.yml in CloudFormation with a change in the Athena database table schema. Even when the schema has changed, it will not be updated

Expected behavior Athena database table schema to be updated.

Considerations and potential fix

bo-lu commented 1 year ago

Potential fix: https://github.com/Canadian-Geospatial-Platform/geocore/commit/e45186b2f706e05ceeb8984d4c3e5750818ea04a