This repository was archived by the owner on Jul 9, 2021. It is now read-only.
Open
Conversation
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
Contributor
|
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. |
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When completing the TO part of a job, people cannot state custom SQL statement by any means:
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.