GitHub user petermaxlee opened a pull request:

    https://github.com/apache/spark/pull/14594

    [SPARK-17016][SQL] Improve group-by/order-by ordinal error reporting

    ## What changes were proposed in this pull request?
    This patch improves error handling for group-by/order-by ordinals:
    
    1. Report error position in more places.
    2. Throw AnalysisException instead of UnresolvedException, which is an 
internal exception not meant for end-users.
    3. Made error messages more consistent.
    
    ## How was this patch tested?
    This is tested in SPARK-17015 but I'm submitting this part in isolation so 
it is easier to back port into branch-2.0.


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/petermaxlee/spark SPARK-17016

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/14594.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #14594
    
----
commit 3e1b6b3cf21c1835a6a9751ded2bc849bcf0e9b3
Author: petermaxlee <[email protected]>
Date:   2016-08-11T06:14:54Z

    [SPARK-17016][SQL] Improve group-by/order-by ordinal error reporting

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to