TDQ-9700: fix hive connection when use context, can not generate correct
sql query