- Subscribe to RSS Feed
- Mark Question as New
- Mark Question as Read
- Float this Question for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Sqoop import data using stored procedure
- Labels:
-
Apache Sqoop
Created on ‎08-01-2014 07:18 AM - edited ‎09-16-2022 02:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
sqoop import --verbose --connect jdbc:db2://hostname:5300/db --username username --password password --call NameStoredProcedure -m 1 --target-dir /tmp/DeltaY0/
Created ‎08-05-2014 10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎08-05-2014 10:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Created ‎09-14-2014 11:15 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How do we import more than one table in sqoop, lets say i have two table one is employee and other one is department and both are having primary-foreign key constraints , i want to import some columns from employee table and some from department based on primary-foreign key.
Created ‎03-04-2015 08:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 options.
1) import all the data (it's called big data for a reason)
2) create a View in your RDBS and sqoop will treat that like a table.
Cheers
Pete
Created ‎07-11-2016 11:34 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
for this requirment you can write join quiry withing sqoop import statement..coz of this u can import only required data in hadoop ecosystem.
