You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hive.apache.org by "Amareshwari Sriramadasu (JIRA)" <ji...@apache.org> on 2011/08/09 13:01:27 UTC

[jira] [Updated] (HIVE-2344) filter is removed due to regression of HIVE-1538

     [ https://issues.apache.org/jira/browse/HIVE-2344?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Amareshwari Sriramadasu updated HIVE-2344:
------------------------------------------

    Attachment: ppd_udf_col.q.out.txt

bq. Any other filter on 'udf selected as column alias in select' will also be pushed down always.

Attaching test output with faulty explain plans. 

> filter is removed due to regression of HIVE-1538
> ------------------------------------------------
>
>                 Key: HIVE-2344
>                 URL: https://issues.apache.org/jira/browse/HIVE-2344
>             Project: Hive
>          Issue Type: Bug
>            Reporter: He Yongqiang
>            Assignee: Amareshwari Sriramadasu
>         Attachments: ppd_udf_col.q.out.txt
>
>
>  select * from 
>  (
>  select type_bucket,randum123
>  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) a
>  where randum123 <=0.1)s where s.randum123>0.1 limit 20;
> This is returning results...
> and 
>  explain
>  select type_bucket,randum123
>  from (SELECT *, cast(rand() as double) AS randum123 FROM tbl where ds = ...) a
>  where randum123 <=0.1
> shows that there is no filter.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira