Details
Description
So, basically if the value is a phrase i.e. has spaces between words, sqoop takes them are separate arguments. E.g. the following query does not work in sqoop editor.
sqoop import --connect jdbc:mysql://nightly510-unsecure-1.gce.cloudera.com:3306/test --username new_user --password cloudera --query 'SELECT a.* FROM employee as a WHERE $CONDITIONS' --target-dir dfs://nightly510-unsecure-1.gce.cloudera.com:8020/user/admin/prachi --verbose --split-by a.empid
REASON: bcoz the argument value 'SELECT a.* FROM employee as a WHERE $CONDITIONS' has spaces in it.
Attachments
Issue Links
- relates to
-
HUE-6717 [editor] Support sqoop command with --query parameter
- Resolved