[ 
https://issues.apache.org/jira/browse/PHOENIX-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16669326#comment-16669326
 ] 

ASF GitHub Bot commented on PHOENIX-4981:
-----------------------------------------

GitHub user twdsilva opened a pull request:

    https://github.com/apache/phoenix/pull/402

    PHOENIX-4981 Add tests for ORDER BY, GROUP BY and salted tables using…

    … phoenix-spark]
    
    @karanmehta93  thanks for the review nice catch, I modified the 
SparkContext variable to be volatile. 
    @ChinmaySKulkarni  can you please review? I refactored the AggregateIT, 
OrderByIT and SaltedIT so that it can be used to run queries using 
phoenix-spark. I created  Base*IT based on these tests with two subclasses (one 
for phoenix , one for phoenix-spark). I added a QueryBuilder to generate a SQL 
query that is used to setup the spark sql query. I also added SparkResultSet 
that implements the JDBC interface so that the existing tests can be reused 
without much changes. 

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

    $ git pull https://github.com/twdsilva/phoenix PHOENIX-4981

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

    https://github.com/apache/phoenix/pull/402.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 #402
    
----
commit c241e5320760384a1710839b28f2e1a2f16d38fd
Author: Thomas D'Silva <tdsilva@...>
Date:   2018-10-19T05:00:01Z

    PHOENIX-4981 Add tests for ORDER BY, GROUP BY and salted tables using 
phoenix-spark

----


> Add tests for ORDER BY, GROUP BY, salted tables using phoenix-spark
> -------------------------------------------------------------------
>
>                 Key: PHOENIX-4981
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4981
>             Project: Phoenix
>          Issue Type: Test
>            Reporter: Thomas D'Silva
>            Assignee: Thomas D'Silva
>            Priority: Major
>              Labels: spark
>         Attachments: PHOENIX-4981-4.x-HBase-1.3.patch
>
>
> See if its possible to reuse {{SaltedTableIT}}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to