GitHub user jiangxb1987 opened a pull request:

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

    [SPARK-18094][SQL][TESTS] Move group analytics test cases from 
`SQLQuerySuite` into a query file test.

    ## What changes were proposed in this pull request?
    
    Currently we have several test cases for group 
analytics(ROLLUP/CUBE/GROUPING SETS) in `SQLQuerySuite`, should better move 
them into a query file test.
    The following test cases are moved to `group-analytics.sql`:
    ```
    test("rollup")
    test("grouping sets when aggregate functions containing groupBy columns") 
    test("cube")
    test("grouping sets")
    test("grouping and grouping_id")
    test("grouping and grouping_id in having")
    test("grouping and grouping_id in sort")
    ```
    
    This is followup work of #15582 
    
    ## How was this patch tested?
    
    Modified query file `group-analytics.sql`, which will be tested by 
`SQLQueryTestSuite`.
    


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

    $ git pull https://github.com/jiangxb1987/spark group-analytics-test

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

    https://github.com/apache/spark/pull/15624.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 #15624
    
----
commit b85c5f9063ef329011b6676218e982e811364fd2
Author: jiangxingbo <[email protected]>
Date:   2016-10-25T15:09:52Z

    move group analytics test cases into a query file test.

----


---
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