You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trino delta lake setup with glue metastore unable to delete underlying data from storage when temp tables are dropped. It happens because when property 'with location' is used to create tables, they are considered as external tables. So when these tables are dropped, it drops the meta information but does not delete underlying data. Which means when next time the pipeline runs, it already finds the data sitting in the location specified and raises error about using system.register_table() function.
To reproduce
Setup trino delta lake connector with glue metastore
Provide a location parameter in the trino configuration
Run a integration pipeline once (It should succeed since this is the first time and temp table does not exist)
Mage version
0.9.65
Describe the bug
Trino delta lake setup with glue metastore unable to delete underlying data from storage when temp tables are dropped. It happens because when property 'with location' is used to create tables, they are considered as external tables. So when these tables are dropped, it drops the meta information but does not delete underlying data. Which means when next time the pipeline runs, it already finds the data sitting in the location specified and raises error about using system.register_table() function.
To reproduce
Expected behavior
The pipeline should successfully run
Screenshots
before-update.zip
Operating system
Any
Additional context
No response
The text was updated successfully, but these errors were encountered: