Impala - how to set a variable in a query?
3 answers
There is an open feature request to add support for variable substitution in impala-shell: IMPALA-1067 to mimic a similar Hive function ( hive --hivevar param=60
replaces ${hivevar:param}
within a request with 60
).
Variables that can be used in other SQL contexts (like from a JDBC client) are also not supported and I couldn't even find an open request for it ... You might want to open a request for it: https: //issues.cloudera .org / browse / IMPALA
+1
source to share