Github user manishgupta88 commented on the issue:
https://github.com/apache/carbondata/pull/2898
@xuchuanyin ...yes this scenario will work fine. In case of dropping normal
table it will go through CarbonSession flow and drop table command is already
taking care of clearing the datamaps.
In case of fileFormat table drop, if the clear dataMap API is not
integrated by customer in that case the changes done in this PR will take care
of referring only to latest carbon table---
