hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Raghotham Murthy (JIRA)" <>
Subject [jira] Updated: (HIVE-160) sampling in a subquery is broken
Date Tue, 14 Jul 2009 23:44:14 GMT


Raghotham Murthy updated HIVE-160:

    Attachment: hive-160.1.patch

No, the problem is that input pruning does not work well when done over parse structures (QB).
We should do it over the operator tree. The current patch is a temporary fix for this bug.
It always adds a sampling predicate to the where clause irrespective of whether there was
input pruning or not. The final fix will be modeled after the partition pruning code that
Ashish is fixing.

I also modified the tests so that srcbucket has an integer key. This allows for better testing
of the case where a predicate is added to the where clause. 'Bucket 1 out of 2' will return
keys which are even and bucket 2 out of 2 will return keys which are odd.

> sampling in a subquery is broken
> --------------------------------
>                 Key: HIVE-160
>                 URL:
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>            Reporter: Venky Iyer
>            Assignee: Raghotham Murthy
>            Priority: Critical
>         Attachments: hive-160.1.patch

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message