hadoop-hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Namit Jain (JIRA)" <j...@apache.org>
Subject [jira] Created: (HIVE-75) limit does not work if applied to outer most block and it is not a query
Date Thu, 20 Nov 2008 17:48:46 GMT
limit does not work if applied to outer most block and it is not a query
------------------------------------------------------------------------

                 Key: HIVE-75
                 URL: https://issues.apache.org/jira/browse/HIVE-75
             Project: Hadoop Hive
          Issue Type: Bug
            Reporter: Namit Jain
            Assignee: Namit Jain


limit does not work if applied to outer most block and it is not a query

For eg

insert into T1 select ... from T2 limit 10;

will be executed as a map-job only.


which means that the total number of rows in T1 is bounded by 10 * number of mappers.

We need another map-reduce job to fix this or the move task needs to be modified.

For now, the simpler fix of another map-reduce job should be ok, in future we can further
optimize it by modifying the move task

-- 
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