PDI-8035: Added intercepts for show tables hack to support HDP

applied patch from master branch commit to 1.3