You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "peter zhao (JIRA)" <ji...@apache.org> on 2014/08/19 08:28:18 UTC

[jira] [Created] (HIVE-7778) hive deal with sql witch has whitespace character

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)