Updated on 2022-02-22 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 > Name of the desired cluster > Services > Spark2x. On the displayed page, choose Configurations > All Configurations. Search for the parameter listed in the following table and configure it as required.

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]