[
https://issues.apache.org/jira/browse/SQOOP-2460?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14679752#comment-14679752
]
Colin Ma edited comment on SQOOP-2460 at 8/10/15 8:07 AM:
----------------------------------------------------------
hi,[~jarcec], if user can execute the command {code}SET GLOBAL sql_mode =
ANSI_QUOTES{code}, the class
MysqlRepositoryInsertUpdateDeleteSelectQuery(included in SQOOP-2461) will be
simplified. The new patch is ready.
was (Author: colinma):
hi,[~jarcec], if user can execute the command {code}SET GLOBAL sql_mode =
ANSI_QUOTES{code}, the class
{code}MysqlRepositoryInsertUpdateDeleteSelectQuery{code} (included in
SQOOP-2461) will be simplified. The new patch is ready.
> Refactor repository-common to make sqoop2 easy to use external DB as
> repository
> --------------------------------------------------------------------------------
>
> Key: SQOOP-2460
> URL: https://issues.apache.org/jira/browse/SQOOP-2460
> Project: Sqoop
> Issue Type: Sub-task
> Components: sqoop2-server
> Reporter: Colin Ma
> Fix For: 1.99.7
>
> Attachments: SQOOP-2460.001.patch, SQOOP-2460.002.patch,
> SQOOP-2460.003.patch
>
>
> Currently, in the class CommonRepositoryInsertUpdateDeleteSelectQuery, the
> tableName and columnName are wrapped with quotation, like
> "tableName"."columnName". But some db doesn't support this format, like MySql.
> Refactor the code in repository-common to fix this problem.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)