hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pengcheng Xiong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-11927) Implement/Enable constant related optimization rules in Calcite: enable HiveReduceExpressionsRule to fold constants
Date Sun, 29 Nov 2015 09:14:11 GMT

    [ https://issues.apache.org/jira/browse/HIVE-11927?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15030862#comment-15030862
] 

Pengcheng Xiong commented on HIVE-11927:
----------------------------------------

[~jpullokkaran], I attached a new patch. I would like to skip CBO when there is an empty logical
value list. There are two reasons. (1) If we translate logical value list to table "dummy",
we can not specify the row limit as 0 in AST. If we do not specify the row limit, the default
1 will be used. (2) There is a physical optimizer "NullScanOptimizer", which will handle the
where false case and translate it to a null scan. Thanks.

> Implement/Enable constant related optimization rules in Calcite: enable HiveReduceExpressionsRule
to fold constants
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HIVE-11927
>                 URL: https://issues.apache.org/jira/browse/HIVE-11927
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>         Attachments: HIVE-11927.01.patch, HIVE-11927.02.patch, HIVE-11927.03.patch, HIVE-11927.04.patch,
HIVE-11927.05.patch, HIVE-11927.06.patch, HIVE-11927.07.patch, HIVE-11927.08.patch, HIVE-11927.09.patch
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message