[CARBONDATA-516][SPARK2]fix union issue in CarbonLateDecoderRule This closes #413
Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/f5ecfbf5 Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/f5ecfbf5 Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/f5ecfbf5 Branch: refs/heads/master Commit: f5ecfbf5cfb65e883e69606e7911381fd915683a Parents: 526243b 462f642 Author: jackylk <jacky.li...@huawei.com> Authored: Fri Dec 16 10:37:47 2016 +0800 Committer: jackylk <jacky.li...@huawei.com> Committed: Fri Dec 16 10:37:47 2016 +0800 ---------------------------------------------------------------------- .../impl/DictionaryBasedResultCollector.java | 29 +- .../DictionaryBasedResultCollectorTest.java | 9 +- .../carbondata/examples/CarbonExample.scala | 12 + .../apache/carbondata/spark/CarbonFilters.scala | 7 + .../CarbonDecoderOptimizerHelper.scala | 24 +- .../readsupport/SparkRowReadSupportImpl.java | 5 +- .../apache/carbondata/spark/CarbonFilters.scala | 6 + .../spark/sql/CarbonDataFrameWriter.scala | 3 +- .../sql/CarbonDatasourceHadoopRelation.scala | 4 +- .../spark/sql/CarbonDictionaryDecoder.scala | 60 +- .../scala/org/apache/spark/sql/CarbonScan.scala | 44 +- .../org/apache/spark/sql/CarbonSource.scala | 3 +- .../sql/optimizer/CarbonLateDecodeRule.scala | 124 +- integration/spark2/src/test/resources/data.csv | 11 + .../AllDataTypesTestCaseAggregate.scala | 1161 ++++++++++++++++++ .../spark/sql/common/util/CarbonFunSuite.scala | 49 + .../sql/common/util/CarbonSessionTest.scala | 74 ++ .../apache/spark/sql/common/util/PlanTest.scala | 59 + .../spark/sql/common/util/QueryTest.scala | 149 +++ 19 files changed, 1654 insertions(+), 179 deletions(-) ----------------------------------------------------------------------