Support customized timezone for date (#107) release-0.10.1 v0.10.1
authorLinary <liningrui@vip.qq.com>
Thu, 5 Dec 2019 13:28:53 +0000 (21:28 +0800)
committerliningrui <liningrui@baidu.com>
Thu, 5 Dec 2019 13:45:58 +0000 (21:45 +0800)
commitef2e6da674425585db47e83e6d6962fe2fd88dbd
tree5ebedc3f98df2371171ac8cb2aede7cffb6e91da
parent62727dd17b49a76d70531b1667f5de22226d5406
Support customized timezone for date (#107)

Change-Id: I9814239e101e1424fc6d247a9984fcaaedbcca5c
14 files changed:
pom.xml
src/main/java/com/baidu/hugegraph/loader/constant/Constants.java
src/main/java/com/baidu/hugegraph/loader/source/file/FileSource.java
src/main/java/com/baidu/hugegraph/loader/util/DataTypeUtil.java
src/main/java/com/baidu/hugegraph/loader/util/DateUtil.java
src/test/java/com/baidu/hugegraph/loader/test/functional/FileLoadTest.java
src/test/java/com/baidu/hugegraph/loader/test/unit/DateUtilTest.java [new file with mode: 0644]
src/test/java/com/baidu/hugegraph/loader/test/unit/UnitTestSuite.java
src/test/resources/customized_timezone_gmt0/schema.groovy [new file with mode: 0644]
src/test/resources/customized_timezone_gmt0/struct.json [new file with mode: 0644]
src/test/resources/customized_timezone_gmt0/struct_hdfs.json [new file with mode: 0644]
src/test/resources/default_timezone_gmt8/schema.groovy [new file with mode: 0644]
src/test/resources/default_timezone_gmt8/struct.json [new file with mode: 0644]
src/test/resources/default_timezone_gmt8/struct_hdfs.json [new file with mode: 0644]