codegen support free-form query
-------------------------------
Key: SQOOP-367
URL: https://issues.apache.org/jira/browse/SQOOP-367
Project: Sqoop
Issue Type: New Feature
Components: codegen
Affects Versions: 1.4.0
Environment: 64bit Ubuntu 10.10 Linux, Java build 1.6.0_24-b07, mysql
5.1.49-1ubuntu8.1
Reporter: Yun Guo
Like the import tool, support using free-form query or table to import datas.
example:
codegen --connect jdbc:mysql://localhost/sqoop_datas --username root --password
123456 --query 'select * from sqoop_source_datas where $CONDITIONS'
--hadoop-home=...
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira