Skip to content

Commit

Permalink
Disable stats auto-gathering in Hive
Browse files Browse the repository at this point in the history
  • Loading branch information
findepi committed Oct 1, 2019
1 parent e1d4bcc commit 4ec9c2a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4ec9c2a

Please sign in to comment.