Help Center/ MapReduce Service/ Component Operation Guide (LTS)/ Using Spark/Spark2x/ Spark O&M Management/ Broaden Support for Hive Partition Pruning Predicate Pushdown
Updated on 2024-10-09 GMT+08:00

Broaden Support for Hive Partition Pruning Predicate Pushdown

Scenario

In earlier versions, the predicate for pruning Hive table partitions is pushed down. Only comparison expressions between column names and integers or character strings can be pushed down. In version 2.3, pushdown of the null, in, and, or expressions are supported.

Parameters

Log in to FusionInsight Manager, choose Cluster > Services > Spark2x > Configurations, click All Configurations, and search for the following parameters.

Parameter

Description

Default Value

Value Range

spark.sql.hive.advancedPartitionPredicatePushdown.enabled

Specifies whether to broaden the support for Hive partition pruning predicate pushdown.

true

[true,false]