hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-13250) Compute predicate conversions on the client, instead of per row group
Date Mon, 21 Mar 2016 20:31:25 GMT

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

Ashutosh Chauhan commented on HIVE-13250:
-----------------------------------------

I think we can special case this for equality predicate. I will update the patch for that.

> Compute predicate conversions on the client, instead of per row group
> ---------------------------------------------------------------------
>
>                 Key: HIVE-13250
>                 URL: https://issues.apache.org/jira/browse/HIVE-13250
>             Project: Hive
>          Issue Type: Improvement
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Seth
>            Assignee: Ashutosh Chauhan
>         Attachments: HIVE-13250.2.patch, HIVE-13250.patch
>
>
> When running a query for the form 
> select count from table where ts_field = "2016-01-23 00:00:00";
> or
> select count from table where ts_field = 1453507200
> ts_field is of type TIMESTAMP
> The predicate is converted to whatever format is appropriate for TIMESTAMP processing
on each and every row group.
> It would be far more efficient to process this once on the client - or even once per
task.
> The same applies to ORC splt elimination as well - this is applied for each stripe.



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

Mime
View raw message