GitHub user xuchuanyin opened a pull request:

    https://github.com/apache/carbondata/pull/1246

    [CARBONDATA-1367] Change module dependency from spark1 to spark2

    # Problems
    When compiling Carbondata with profile spark-2.1, 
`carbondata-examples-flink` will be compiled too. But this module depends on 
`carbondata-example-spark` and `sparkdata-spark` which will be compiled with 
profile-1.6, so we need to fix it.
    
    # Solution
    + Change module dependency from spark1 to spark2.
    
    + Copy the `ExampleUtils.scala` from `carbondata-examples-spark` to 
``carbondata-examples-spark2` and replace `CarbonContext` with `CarbonSession`.


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

    $ git pull https://github.com/xuchuanyin/carbondata patch-1

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

    https://github.com/apache/carbondata/pull/1246.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 #1246
    
----
commit 5b234ab400a611aca8ef50b4abc5d88cef8897b4
Author: xuchuanyin <xuchuan...@hust.edu.cn>
Date:   2017-08-08T11:32:57Z

    [CARBONDATA-1367] Change dependency to spark2

commit 20e86e8c2ccf3f5acbfe987c2e53f7fd389ccf9d
Author: xuchuanyin <xuchuan...@hust.edu.cn>
Date:   2017-08-08T11:38:10Z

    [CARBONDATA-1367] create utils for flink testcase

----


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

Reply via email to