You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Jesus Camacho Rodriguez (JIRA)" <ji...@apache.org> on 2015/09/14 17:59:46 UTC

[jira] [Commented] (HIVE-11813) Avoid expensive AST tree conversion to String for expressions in WHERE clause in CBO

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

Jesus Camacho Rodriguez commented on HIVE-11813:
------------------------------------------------

[~hsubramaniyan], maybe you could take a look at this one since you reviewed HIVE-11310? In this patch we enable the same change that we did in HIVE-11310, but for CBO i.e. we only check for cached expressions if it is a GroupBy/Having expression.

> Avoid expensive AST tree conversion to String for expressions in WHERE clause in CBO
> ------------------------------------------------------------------------------------
>
>                 Key: HIVE-11813
>                 URL: https://issues.apache.org/jira/browse/HIVE-11813
>             Project: Hive
>          Issue Type: Bug
>          Components: CBO
>    Affects Versions: 2.0.0
>            Reporter: Jesus Camacho Rodriguez
>            Assignee: Jesus Camacho Rodriguez
>         Attachments: HIVE-11813.patch
>
>
> We use the AST tree String representation of a condition in the WHERE clause to identify its column in the RowResolver. This can lead to OOM Exceptions when the condition is very large.



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