diff --git a/presto-product-tests/conf/tempto/tempto-configuration-for-hdp3.yaml b/presto-product-tests/conf/tempto/tempto-configuration-for-hdp3.yaml index 586655832419..3be838b33579 100644 --- a/presto-product-tests/conf/tempto/tempto-configuration-for-hdp3.yaml +++ b/presto-product-tests/conf/tempto/tempto-configuration-for-hdp3.yaml @@ -1,3 +1,10 @@ hdfs: webhdfs: uri: http://${databases.hive.host}:9870 + +databases: + hive: + prepare_statement: + - USE ${databases.hive.schema} + # Hive 3 gathers stats by default. For test purposes we need to disable this behavior. + - SET hive.stats.column.autogather=false diff --git a/presto-product-tests/src/main/resources/tempto-configuration.yaml b/presto-product-tests/src/main/resources/tempto-configuration.yaml index e6fcaf576015..b008ce153c50 100644 --- a/presto-product-tests/src/main/resources/tempto-configuration.yaml +++ b/presto-product-tests/src/main/resources/tempto-configuration.yaml @@ -15,7 +15,8 @@ databases: jdbc_password: na jdbc_pooling: false schema: default - prepare_statement: USE ${databases.hive.schema} + prepare_statement: + - USE ${databases.hive.schema} table_manager_type: hive warehouse_directory_path: /user/hive/warehouse path: /user/hive/warehouse