carbondata-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jack...@apache.org
Subject [3/3] incubator-carbondata git commit: [CARBONDATA-535]Support data type: date and char This closes #411
Date Thu, 15 Dec 2016 09:07:50 GMT
[CARBONDATA-535]Support data type: date and char  This closes #411


Project: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/commit/ecf29472
Tree: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/tree/ecf29472
Diff: http://git-wip-us.apache.org/repos/asf/incubator-carbondata/diff/ecf29472

Branch: refs/heads/master
Commit: ecf29472ee73745a1c89a37f7d3dd5603c4ac9bf
Parents: bbb5919 d73f4bf
Author: jackylk <jacky.likun@huawei.com>
Authored: Thu Dec 15 17:04:53 2016 +0800
Committer: jackylk <jacky.likun@huawei.com>
Committed: Thu Dec 15 17:04:53 2016 +0800

----------------------------------------------------------------------
 .../cache/dictionary/ColumnDictionaryInfo.java  |   1 +
 .../ThriftWrapperSchemaConverterImpl.java       |   4 +
 .../DirectDictionaryGenerator.java              |   2 +-
 .../DirectDictionaryKeyGeneratorFactory.java    |   4 +
 .../DateDirectDictionaryGenerator.java          | 162 +++++++++++++++++++
 .../util/AbstractDataFileFooterConverter.java   |   2 +
 .../carbondata/core/util/DataTypeUtil.java      |   5 +
 .../sortindex/CarbonDictionarySortModel.java    |   1 +
 .../scan/complextypes/PrimitiveQueryType.java   |   2 +
 .../scan/expression/ExpressionResult.java       |  99 ++++++++++--
 .../scan/expression/LiteralExpression.java      |   4 +-
 .../conditional/EqualToExpression.java          |   1 +
 .../GreaterThanEqualToExpression.java           |   1 +
 .../conditional/GreaterThanExpression.java      |   1 +
 .../expression/conditional/InExpression.java    |   1 +
 .../conditional/LessThanEqualToExpression.java  |   1 +
 .../conditional/LessThanExpression.java         |   1 +
 .../conditional/NotEqualsExpression.java        |   1 +
 .../expression/conditional/NotInExpression.java |   1 +
 .../carbondata/scan/filter/FilterUtil.java      |  13 +-
 .../resolver/ConditionalFilterResolverImpl.java |   3 +-
 .../resolver/RestructureFilterResolverImpl.java |   6 +-
 .../visitor/CustomTypeDictionaryVisitor.java    |  15 +-
 .../visitor/ResolvedFilterInfoVisitorIntf.java  |   2 +-
 .../carbondata/core/util/DataTypeUtilTest.java  |   1 +
 .../DictionaryBasedResultCollectorTest.java     |   9 +-
 .../scan/expression/ExpressionResultTest.java   |   4 +-
 .../carbondata/examples/CarbonExample.scala     |   2 +-
 examples/spark2/src/main/resources/data.csv     |  20 +--
 .../carbondata/examples/CarbonExample.scala     |  23 ++-
 format/src/main/thrift/schema.thrift            |   1 +
 .../carbondata/spark/util/CarbonScalaUtil.scala |   1 +
 .../spark/util/DataTypeConverterUtil.scala      |   5 +-
 .../execution/command/carbonTableSchema.scala   |   2 +-
 .../readsupport/SparkRowReadSupportImpl.java    |  16 +-
 .../spark/CarbonDataFrameWriter.scala           |   1 +
 .../spark/sql/CarbonDictionaryDecoder.scala     |   1 +
 .../org/apache/spark/sql/CarbonSqlParser.scala  |  21 ++-
 .../apache/spark/sql/hive/CarbonMetastore.scala |   5 +-
 .../src/test/resources/datasamplefordate.csv    |   4 +
 .../spark/src/test/resources/datasamplenull.csv |   2 +-
 .../DateDataTypeDirectDictionaryTest.scala      | 154 ++++++++++++++++++
 ...TypeDirectDictionaryWithNoDictTestCase.scala | 101 ++++++++++++
 .../DateDataTypeNullDataTest.scala              |  88 ++++++++++
 ...estampDataTypeDirectDictionaryTestCase.scala |  18 +--
 ...TypeDirectDictionaryWithNoDictTestCase.scala |   6 +-
 .../TimestampDataTypeNullDataTest.scala         |  16 +-
 .../readsupport/SparkRowReadSupportImpl.java    |   6 +-
 .../spark/sql/CarbonDataFrameWriter.scala       |   1 +
 .../spark/sql/CarbonDictionaryDecoder.scala     |   2 +
 .../org/apache/spark/sql/CarbonSource.scala     |  13 +-
 .../org/apache/spark/sql/TableCreator.scala     |   7 +-
 .../apache/spark/sql/hive/CarbonMetastore.scala |   2 +
 53 files changed, 768 insertions(+), 97 deletions(-)
----------------------------------------------------------------------



Mime
View raw message