Reputation: 11
In Hue 3.6 I'm trying to use Sqoop 2 import feature for a custom SQL query from an Oracle database. I'm pasting the SQL query in the field "Table SQL statement" for example: "SELECT x,y,z FROM myschema.mytable where a > 100"
I'm getting the following exception "SQL statement must contain placeholder for auto generated conditions - ${CONDITIONS}"
I'm using Cloudera Sandbox that is using Hue 3.6.
Upvotes: 1
Views: 952
Reputation: 132
You can read the DOCS Free-Form Queries on SQOOP. Be careful when you use double quotes "", you have to add the \$CONDITIONS
. If you query with single quotes you only need to add $CONDITIONS
without backslash.
Upvotes: 0