Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sqoop import
- --connect "jdbc:mysql://quickstart.cloudera:3306/retail_db"
- --username retail_dba --password cloudera
- --query 'select * from sample_data where $CONDITIONS AND salary > 1000'
- --split-by salary
- --target-dir hdfs://quickstart.cloudera/user/cloudera/sqoop_new
- SqlManager: Executing SQL statement: select * from sample_data where (1 = 0) AND salary > 1000
- INFO db.DataDrivenDBInputFormat: BoundingValsQuery: SELECT MIN(salary), MAX(salary) FROM (select * from sample_data where (1 = 1) AND salary > 1000) AS t1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement