[ 
https://issues.apache.org/jira/browse/HIVE-1193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838737#action_12838737
 ] 

Zheng Shao commented on HIVE-1193:
----------------------------------

Can we have some more description on the JIRA?
The patch contains 2 properties: enforceBucketing and enforceSorting. But I 
don't see it from the JIRA.

1. How do we make sure that the data is bucketed / sorted? By adding an 
additional map-reduce job?
2. What if the user already specified "CLUSTER BY key" in his query?
3. Do we disable merging of small files when we do this?


> ensure sorting properties for a table
> -------------------------------------
>
>                 Key: HIVE-1193
>                 URL: https://issues.apache.org/jira/browse/HIVE-1193
>             Project: Hadoop Hive
>          Issue Type: New Feature
>          Components: Query Processor
>            Reporter: Namit Jain
>            Assignee: Namit Jain
>             Fix For: 0.6.0
>
>         Attachments: hive.1193.1.patch
>
>
> If a table is sorted, and data is being inserted into that - currently, we 
> dont make sure that data is sorted. That might be useful some downstream 
> operations.
> This cannot be made the default due to backward compatibility, but an option 
> can be added for the same

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

Reply via email to