- 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 Hortonworks TDCH - Queryband option
- Labels:
-
Apache Sqoop
Created 08-26-2016 04:53 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
What is the syntax to use the queryband option with TDCH?
I tried a lot of -D syntax combinations without any luck...
Thanks!
Created 09-02-2016 06:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Teradata connector specific options have to be delineated from the sqoop options with --
So you would add -- --queryband ...
Created 08-26-2016 05:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you try --queryband
or try something like below (notice a dash):
--query-band DC=BP\?
Created 08-26-2016 06:25 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes I did try the two options but if I do that this is interpreted as a Sqoop parameter and not as a parameter of the Teradata connector and the Sqoop command fails. In the documentation, it is recommended to use -Dteradata.db.input.* for import parameters and -Dteradata.db.output.* for export parameters, but no indication for the common parameters described at the end of the documentation.
Created 09-02-2016 06:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Teradata connector specific options have to be delineated from the sqoop options with --
So you would add -- --queryband ...
Created 09-02-2016 08:11 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks a lot! It works like a charm.
