You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Zoltan Chovan (Jira)" <ji...@apache.org> on 2020/01/31 13:33:00 UTC

[jira] [Updated] (HIVE-22804) Ensure ANSI quotes are used for mysql connections

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

Zoltan Chovan updated HIVE-22804:
---------------------------------
    Status: Patch Available  (was: In Progress)

> Ensure ANSI quotes are used for mysql connections
> -------------------------------------------------
>
>                 Key: HIVE-22804
>                 URL: https://issues.apache.org/jira/browse/HIVE-22804
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: Zoltan Chovan
>            Assignee: Zoltan Chovan
>            Priority: Major
>         Attachments: HIVE-22804.patch
>
>
> Recent changes in direct sql queries to resolve postgres issues(e.g. TxnHandler in HIVE-22663 ) break compatibility with mysql backend db. 
> A workaround for these issues is to add a session config to the mysql connection string, e.g.:
> {code:java}
> jdbc:mysql://localhost:3306/db?sessionVariables=sql_mode=ANSI_QUOTES
> {code}
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)