Closed findepi closed 3 years ago
I think we should check in DropSchemaTask
if there are tables in the schema before dropping it.
@findepi @kokosing I can take a look. Can you please assign this to me.
same applies to MemSQL. Clickhouse
I did not verify Kudu
per https://github.com/trinodb/trino/discussions/8613,
DROP SCHEMA ..
andDROP SCHEMA .. RESTRICT
should fail when schema contains tables.This is not the case for MySQL connector. This may lead to an inadvertent data loss.
cc @wendigo @hashhar @kokosing