[CARBONDATA-656]Simplify the carbon session creation This closes #547
Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/e6fa4ad9 Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/e6fa4ad9 Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/e6fa4ad9 Branch: refs/heads/branch-1.0 Commit: e6fa4ad98f730a24b61c967d42437818322d2e32 Parents: 678530e 5f75a8a Author: chenliang613 <chenliang...@huawei.com> Authored: Wed Jan 18 23:12:45 2017 +0800 Committer: chenliang613 <chenliang...@huawei.com> Committed: Wed Jan 18 23:12:45 2017 +0800 ---------------------------------------------------------------------- .../examples/CarbonSessionExample.scala | 19 ++--------- .../examples/SparkSessionExample.scala | 2 +- .../spark/sql/test/TestQueryExecutor.scala | 2 +- .../org/apache/spark/sql/CarbonSession.scala | 33 +++++++++++++++++--- .../sql/test/Spark2TestQueryExecutor.scala | 7 ++--- 5 files changed, 35 insertions(+), 28 deletions(-) ----------------------------------------------------------------------