Just an update from my side so that someone else would benefit, if they came across this issue.
Here is the resolution we received from the Cloudera/Hortonworks support team.
Resolution:
We have created followup jira's to support tablenames with (.)dot in HIVE-21198 & HIVE-21151. This 2 jira's are still in progress, but still consider that even if jiras are fixed, `db.table` will be considered as tablename with special characters.
Workaround:
Please consider to update the scripts to split & quote dbname & tablename like `dbname`.`tablename'