[
https://issues.apache.org/jira/browse/PIG-1919?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jonathan Coveney updated PIG-1919:
----------------------------------
Attachment: PIG-1919-0.patch
Thejas, please find attached a rudimentary stab at this. The approach I took
was to check the SortInfo that is generated against the Schema of the Tuple,
and to ensure that it isn't a Bag, Tuple, or Map. I throw a FrontendException
if that is the case. I can add tests, but first I wanted to see if this was the
right approach to take (and if the error I throw is a good one).
Operation "let's get rid of some of these older JIRA's" has commenced.
> order-by on bag gives error only at runtime
> -------------------------------------------
>
> Key: PIG-1919
> URL: https://issues.apache.org/jira/browse/PIG-1919
> Project: Pig
> Issue Type: Bug
> Affects Versions: 0.8.0, 0.9.0
> Reporter: Thejas M Nair
> Fix For: 0.11, 0.10.1
>
> Attachments: PIG-1919-0.patch
>
>
> Order-by on a bag or tuple should give error at query compile time, instead
> of giving an error at runtime.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira