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-12960) Migrate Column Stats Extrapolation to HBaseStore
Date Wed, 10 Feb 2016 06:54:18 GMT

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

Pengcheng Xiong commented on HIVE-12960:
----------------------------------------

[~sershe], i just submitted the initial patch. I agree that we should (1) move the logic out
of directsql and (2) it would be the best if ObjectStore and HbaseStore can share the code
for the extrapolation logic. However, after some investigation, i found it would be hard to
do (2). The main reason is that, in ObjectStore, in order to save the times to call metastore,
we include lots of logic inside SQL itself, e.g., use sum and avg function in SQL to calculate
the sum and the average. However, we have to write our own code in HBaseStore. And, for (1),
I would suggest that we open a new JIRA to address it. Also cc'ing [~ashutoshc] to listen
to his opinions.

> Migrate Column Stats Extrapolation to HBaseStore
> ------------------------------------------------
>
>                 Key: HIVE-12960
>                 URL: https://issues.apache.org/jira/browse/HIVE-12960
>             Project: Hive
>          Issue Type: Sub-task
>            Reporter: Pengcheng Xiong
>            Assignee: Pengcheng Xiong
>             Fix For: 2.1.0
>
>         Attachments: HIVE-12960.01.patch
>
>




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

Mime
View raw message