Skip to content
This repository has been archived by the owner on Jul 9, 2021. It is now read-only.

[SQOOP-2916] #19

Open
wants to merge 2 commits into
base: branch-1.99.6
Choose a base branch
from
Open

Conversation

FuqiaoWang
Copy link

When completing the TO part of a job, people cannot state custom SQL statement by any means:

  1. When both TableName and SQL statement are provided, it reports the'GENERIC_JDBC_CONNECTOR_0007("The table name and the table sql cannot be specified together")' exception.
  2. When only the SQL statement is provided, it reports the 'Both table name and SQL cannot be specified' exception.

The modification we have made is simply to allow the TableName and the SQL statement can be input together and in this case, the SQL have the higher priority to be executed.

FuqiaoWang and others added 2 commits April 23, 2016 21:12
statement项时,报不支持提取tableName错误,填写tableName项和Table SQL
statement项时,报二者不可同时添加错误。
statement by any means. 
When both TableName and SQL statement are provided, it reports the BOTH
exception:GENERIC_JDBC_CONNECTOR_0007("The table name and the table sql
cannot be specified together").
When only the SQL statement is provided, it reports the CANNOT extract
exception:Both table name and SQL cannot be specified.
We simply modify the corresponding branch logic judgment and removed at
the same time fill tableName, Table SQL validation
@afine
Copy link
Contributor

afine commented Apr 25, 2016

Hi @FuqiaoWang. We typically use jira and review board for handling issues and patches (the github exists purely as a mirror). Please submit your patch to: https://issues.apache.org/jira/secure/Dashboard.jspa and I would be happy to review it.

@FuqiaoWang FuqiaoWang changed the title Branch 1.99.6 [SQOOP-2916] Apr 29, 2016
@FuqiaoWang
Copy link
Author

Thank you for your reply @afine, I have submitted my patch to:https://issues.apache.org/jira/browse/SQOOP-2916 .I would be very happy if you can review it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants