Use AI to find the answer: what parameters can be set in set in hivesql

What parameters
AI can be set in set in hivesql: In HiveQL, the SET command can be used to set the following parameters:

  1. hive.execution.engine: specifies the execution engine of Hive, including MapReduce, Tez, Spark, etc.

  2. hive.exec.dynamic.partition: Specifies the dynamic partition mode, including strict, nonstrict and strict_all.

  3. hive.optimize.sort.dynamic.partition: Specifies whether to enable dynamic partition sorting.

  4. hive.exec.parallel: Specifies whether to enable parallel execution.

  5. hive.map.aggr: Specifies whether to enable Map-side aggregation.

  6. hive.exec.reducers.bytes.per.reducer: Specifies the size of data processed by each Reducer.

  7. hive.exec.compress.output: Specifies whether to enable output compression.

  8. hive.exec.compress.intermediate: Specifies whether to enable intermediate data compression.

  9. hive.vectorized.execution.enabled: Specifies whether to enable vectorized execution.

  10. hive.vectorized.execution.reduce.enabled: Specifies whether to enable vectorized Reduce.

  11. hive.optimize.sort.bucketmapjoin: Specifies whether to enable Bucket Map Join optimization.

  12. hive.auto.convert.join: Specify whether to automatically convert Join.

  13. hive.auto.convert.join.noconditionaltask: Specifies whether to automatically convert tasks without conditions in the join.

  14. hive.auto.convert.join.noconditionaltask.size: Specifies the maximum data size of the unconditional Task in the automatic conversion Join.

  15. hive.cbo.enable: Specifies whether to enable the Cost-Based Optimizer.

  16. hive.stats.autogather: Specifies whether to automatically gather table statistics.

  17. hive.stats.fetch.column.stats: Specifies whether to collect column statistics.

  18. hive.stats.fetch.partition.stats: Specifies whether to collect partition statistics.

  19. hive.stats.jdbc.timeout: Specifies the timeout period of the JDBC connection when collecting statistics.

  20. hive.tez.container.size: Specifies the size of each Tez Container.

  21. hive.tez.java.opts: Specifies the parameters of the Tez JVM.

22.hive.tez.auto.reducer.parallelism: Specifies whether to automatically set the parallelism of the Reducer.

set in hiveSQL to set the local operation mode

AI: In HiveSQL, you can use the SET command to set the local operation mode. The specific command is:

SET hive.exec.mode.local.auto=true;

This command will automatically choose between local operation mode and MapReduce operation mode. If the amount of data is small, Hive will automatically select the local operation mode.

insert image description here

insert image description here

Guess you like

Origin blog.csdn.net/Redamancy06/article/details/129656421