hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Thusoo (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HIVE-253) rand() gets precomputated in compilation phase
Date Fri, 13 Mar 2009 01:08:50 GMT

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

Ashish Thusoo updated HIVE-253:
-------------------------------

    Assignee: Raghotham Murthy  (was: Ashish Thusoo)

Load balancing...

> rand() gets precomputated in compilation phase
> ----------------------------------------------
>
>                 Key: HIVE-253
>                 URL: https://issues.apache.org/jira/browse/HIVE-253
>             Project: Hadoop Hive
>          Issue Type: Bug
>          Components: Query Processor
>    Affects Versions: 0.2.0
>            Reporter: Zheng Shao
>            Assignee: Raghotham Murthy
>            Priority: Blocker
>             Fix For: 0.2.0
>
>
> SELECT * FROM t WHERE rand() < 0.01;
> Hive will say: "No need to submit job", because the condition evaluates to false.
> The rand() function is special in the sense that every time it evaluates to a different
value. We should disallow computing the value in the compiling phase.
> One way to do that is to add an annotation in the UDFRand and check that in the compiling
phase.

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


Mime
View raw message