GitHub user viirya opened a pull request:

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

    [SPARK-12578][SQL] Distinct should not be silently ignored when used in an 
aggregate function with OVER clause

    JIRA: https://issues.apache.org/jira/browse/SPARK-12578
    
    Slightly update to Hive parser. We should keep the distinct keyword when 
used in an aggregate function with OVER clause. So the CheckAnalysis will 
detect it and throw exception later.

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

    $ git pull https://github.com/viirya/spark-1 keep-distinct-hivesql

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

    https://github.com/apache/spark/pull/10557.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 #10557
    
----
commit 79db0eb149c025d214b0213d9cc671faa2b10ac6
Author: Liang-Chi Hsieh <vii...@gmail.com>
Date:   2016-01-02T18:34:01Z

    window function: distinct should not be silently ignored.

----


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to