[ https://issues.apache.org/jira/browse/HIVE-26618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stamatis Zampetakis updated HIVE-26618: --------------------------------------- Fix Version/s: (was: 4.0.0) (was: 4.0.0-alpha-2) I cleared the fixVersion field since this ticket is still open. Please review this ticket and if the fix is already committed to a specific version please set the version accordingly and mark the ticket as RESOLVED. According to the [JIRA guidelines|https://cwiki.apache.org/confluence/display/Hive/HowToContribute] the fixVersion should be set only when the issue is resolved/closed. > 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 > Priority: Major > Labels: pull-request-available > Time Spent: 0.5h > Remaining Estimate: 0h > > 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)