Details
Description
When defining a Hive variable in the settings and referencing it in the query, Hue attempts to replace the reference in the query by the variable value, but is incorrectly replacing some characters by their HTML entity equivalent. See screenshot for an example. Error log is reporting that the following query has been sent to Hive:
13/11/27 05:43:14 INFO parse.ParseDriver: Parsing command: select *
from test_table
where k like 'id%'
FAILED: ParseException line 3:13 cannot recognize input near '&' '39' ';' in expression specification
The expected where clause should be instead:
where k like 'id%';