Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
Im trying to execute hql query from contextvariable in thiveinput
If my context variable has hard code values then its working fine.
If im reading another context variable the it throw error.
Hi,
Print result is good but not reading the other variables in query.
Here is my query in variable:
"select distinct XXXXXXXXXXXXX from +context.db_name+.+context.view_name"
Error:
tHiveInput_1 Error while compiling statement: FAILED: ParseException line 1:109 cannot recognize input near '+' 'context' '.' in join source
org.apache.hive.service.cli.HiveSQLException: Error while compiling statement: FAILED: ParseException line 1:109 cannot recognize input near '+' 'context' '.' in join source