Created on 10-23-2018 08:48 AM - edited 09-16-2022 06:49 AM
Hello,
I was wondering if it's possible to pass parameter in to Impala, for exemple like this Hive script:
set TABLE_NAME = cc_activitydocument ;
drop table ${hiveconf:TABLE_NAME};
drop table ${hiveconf:TABLE_NAME}_str;
drop table ${hiveconf:TABLE_NAME}_history;
drop table ${hiveconf:TABLE_NAME}_history_str;
i'm not finding any documentation how to translate that into Impala?
Thanks 🙂
Created 10-23-2018 12:50 PM
Please refer the below link, it may help you
https://www.cloudera.com/documentation/enterprise/5-8-x/topics/impala_set.html
Created 10-26-2018 10:41 AM
Hello, thanks i was able to do it in shell.
However i'm not able to do it from Hue or Dbeaver. Any workaround for that?
Created 12-09-2020 09:16 AM
Hi @Broche you can use this script.(for hue)
For id column, 2 is default value. You don't have to define default value, its optional.