Tagged: sqoop commands
This topic contains 0 replies, has 1 voice, and was last updated by Shivraj 2 years, 5 months ago.
Here is the below sqoop command used to import the data using –query option.
sqoop import –connect jdbc:mysql://ipaddress/dbname –query ‘select * from employee where $CONDITIONS’ –username root -P –target-dir /outputFolder -m 1
Your query must include the token ‘where $CONDITIONS’ which each Sqoop process will replace with a unique condition expression.
Mail (will not be published) (required):
Your Name (required)
Your Email (required)
Enter the destination URL
Or link to existing content