[
https://issues.apache.org/jira/browse/HIVE-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647484#action_12647484
]
Zheng Shao commented on HIVE-61:
--------------------------------
Some more details about the implementation of ORDER BY:
We will store on what columns a table (or a partition) is partitioned, and
sorted (in asc/desc order), right after we insert data into that table. We will
also store whether the table is ordered or not.
If a table/partition is ordered and if we do a select (that outputs the data to
console) from that table, then we will need to merge-sort all files in that
table/partition based on the sort order.
> Implment ORDER BY
> -----------------
>
> Key: HIVE-61
> URL: https://issues.apache.org/jira/browse/HIVE-61
> Project: Hadoop Hive
> Issue Type: New Feature
> Reporter: Jeff Hammerbacher
>
> ORDER BY is in the query language reference but currently is a no-op. We
> should make it an op.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.