cloudera-labs / hive-sre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mysql_missing_parts.sql should include corresponding backend mysql statements to drop empty tables as well

mckempanna opened this issue · comments

loc_scan_missing_dirs.md recommends dropping both partitions and tables that don’t point to any hdfs directories.
However, mysql_missing_parts.sql generates cleanup statements only for partitions and not for tables.
Can we also include statements for dropping empty tables from the backend directly in mysql_missing_parts.sql