You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Nasron Cheong (JIRA)" <ji...@apache.org> on 2016/04/19 19:42:25 UTC

[jira] [Created] (HIVE-13548) hive-jdbc isn't escaping slashes during PreparedStatement

Nasron Cheong created HIVE-13548:
------------------------------------

             Summary: hive-jdbc isn't escaping slashes during PreparedStatement
                 Key: HIVE-13548
                 URL: https://issues.apache.org/jira/browse/HIVE-13548
             Project: Hive
          Issue Type: Bug
          Components: JDBC
            Reporter: Nasron Cheong
            Assignee: Nasron Cheong


Calling setString on a prepared statement with a string containing a '\' will cause the SQL construction to fail.

I believe the slash should be escaped by the setString function.

There may be other characters that require escaping during the same call.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)