Hue and Sqoop white spaces in query
Hello,
I'm running a sqoop job through Hue. This imports data from Oracle, but the value of --query is being divided by whitespace and produces sqoop flag error because it does not recognize these parameters
import --connect jdbc:oracle:thin:@server/service --query 'select * from mytable'
The logs show somethng like this:
Sqoop command arguments :
import
--connect
jdbc:oracle:thin:@server/service
--query
'SELECT
*
from
mytable'
-------------------------------------------------------------------------------------------------------
17:48:29.329 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool - Error parsing arguments for import:
17:48:29.329 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool - Unrecognized argument: select
17:48:29.329 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool - Unrecognized argument: *
17:48:29.329 [main] ERROR org.apache.sqoop.tool.BaseSqoopTool - Unrecognized argument: from
I have tried to scape with single, double quotes, backslash but nothing works.

