peter zhao created HIVE-7778:
--------------------------------
Summary: hive deal with sql witch has whitespace character
Key: HIVE-7778
URL: https://issues.apache.org/jira/browse/HIVE-7778
Project: Hive
Issue Type: Bug
Components: CLI
Affects Versions: 0.13.1
Reporter: peter zhao
Priority: Minor
i run sql "set hive.exec.dynamic.partition.mode=nonstrict" with ibatis,becaust
ibatis usiing xml file to hold the sql str.it has some format,so hive server
recive the sql like this " \t set hive.exec.dynamic.partition.mode=nonstrict
",so
in org.apache.hive.service.cli.operation.HiveCommandOperation.run() method, it
deal with "\t" not very good.then generat variable key is "set
hive.exec.dynamic.partition.mode", and the right key may be
"hive.exec.dynamic.partition.mode", so my next "select by partition" sql throw
a strict exception.
--
This message was sent by Atlassian JIRA
(v6.2#6252)