Reply
Highlighted
New Contributor
Posts: 5
Registered: ‎04-28-2016

Hue's Sqoop step: How to paste blank spaces in arguments

[ Edited ]

In a Sqoop step, if I paste "a, b, c" into the arguments, it will automatically create 3 arguments in UI.

Cool feature, but only until you use SQL..

 

I have a rather complex query and it not only slices the query by white spaces, creating meaningless arguments, but also overwrites the preexisting ones.

 

In CDH 5.10.1 this feature wasn't present, but I experience it in 5.13.0.

 

Any ideas how to workaround this? I tried to replace white characters with "\040" but that did not work.

The only idea I've got is to export the workflow to JSON, edit and import back, which is quite unconfortable. Better still than edit the SQL manually.

 

Thanks!

Announcements