hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nasron Cheong (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-13548) hive-jdbc isn't escaping slashes during PreparedStatement
Date Tue, 19 Apr 2016 17:44:25 GMT

     [ https://issues.apache.org/jira/browse/HIVE-13548?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Nasron Cheong updated HIVE-13548:
---------------------------------
    Attachment: HIVE-13548.patch

> 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
>         Attachments: HIVE-13548.patch
>
>
> 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)

Mime
View raw message