GitHub user QiangCai opened a pull request: https://github.com/apache/incubator-carbondata/pull/528
Fix InsertInto test case for spark2 Changes: 1. move insertInto test case to spark-common-test module from spark module 2. add test case: insert into carbon table from carbon table union query 3. CarbonDecoderOptimizerHelper support InsertIntoTable for spark2 4. CreateTable and CarbonRelation use origin ordinal of columns for spark2 5. Optimize CSVInput for InsertInto to avoid to allocate too much memory at once. Impaction: 1. dataloading 2. query You can merge this pull request into a Git repository by running: $ git pull https://github.com/QiangCai/incubator-carbondata fixInsertIntoFromUnionQuery Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-carbondata/pull/528.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 #528 ---- commit 96e94fb967936192520f64dd8404e148c7e5fad2 Author: QiangCai <qiang...@qq.com> Date: 2017-01-12T17:26:30Z fix InsertInto issue for spark2 ---- --- 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. ---