You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Krisztian Kasa (Jira)" <ji...@apache.org> on 2022/10/11 08:49:00 UTC

[jira] [Created] (HIVE-26618) Add setting to turn on/off removing sections of a query plan known never produces rows

Krisztian Kasa created HIVE-26618:
-------------------------------------

             Summary: Add setting to turn on/off removing sections of a query plan known never produces rows
                 Key: HIVE-26618
                 URL: https://issues.apache.org/jira/browse/HIVE-26618
             Project: Hive
          Issue Type: Improvement
          Components: CBO
            Reporter: Krisztian Kasa
            Assignee: Krisztian Kasa


HIVE-26524 introduced an optimization to remove sections of query plan known never produces rows.

Add a setting into hive conf to turn on/off this optimization.

When the optimization is turned off restore the legacy behavior:
* represent empty result operator with {{HiveSortLimit}} 0
* disable {{HiveRemoveEmptySingleRules}}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)