You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is it possible to set hive parameters like set hive.tez.container.size=8192 for all connections or per model?
I added the statement in a dbt macro like
{% macro hive_settings() %}
{% set sql %}
set hive.tez.container.size=8192
{% endset %}
{% do run_query(sql) %}
{% do log("Hive settings applied", info=True) %}
{% endmacro %}
But runnning it dbt run-operation hive_settings ends in
Running with dbt=1.3.2
Hive settings applied
Encountered an error while running operation: Runtime Error
Runtime Error
Unable to establish connection to Hive server: Error while compiling statement: FAILED: ParseException line4:8 cannot recognize input near 'set' 'hive' '.' in statement
Is it possible to set hive parameters like
set hive.tez.container.size=8192
for all connections or per model?I added the statement in a dbt macro like
But runnning it
dbt run-operation hive_settings
ends inAdditionally, it would be nice to set them via
profiles.yml
similiar to theserver_side_parameters
in the dbt-spark module, see https://docs.getdbt.com/reference/warehouse-setups/spark-setup#odbc.The text was updated successfully, but these errors were encountered: