Quantcast
Channel: Hortonworks » All Replies
Viewing all articles
Browse latest Browse all 3435

Reply To: Sqoop Teradata Queryband

$
0
0

Figured this one out. This is not clear in the documentation at all.

Here is the appropriate option syntax:
sqoop import -D teradata.db.input.query.band=”user=someUser;”

For the option value, make sure to follow Teradata’s syntax for SET QUERY_BAND … FOR SESSION

Example : Setting a Query Band For a Session
The following example sets a query band with two name:value pairs for the session.
SET QUERY_BAND = ‘org=Finance;report=Fin123;’ FOR SESSION;
The pairs in the query band string are org=Finance and report=Fin123.


Viewing all articles
Browse latest Browse all 3435

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>