Jim Apple has uploaded a new patch set (#4). Change subject: IMPALA-1903: Add support for partitioning by TIMESTAMP ......................................................................
IMPALA-1903: Add support for partitioning by TIMESTAMP Timestamp partitions are stored in format: '$COLUMN_NAME=[yyyy-MM-dd ]HH:mm:ss[.SSSSSSSSS]' where 1. $COLUMN_NAME is the column name 2. The date part is optional. If it missing, so is the space character separating the date and time 3. The fractional part of the seconds is optional, but if it is present, all nine digits are present. Change-Id: Icad7dcdc1b199cce9483dc414072bbe24efd625c --- M be/src/exec/hdfs-table-sink.cc M be/src/exprs/expr-test.cc M be/src/exprs/expr.cc M be/src/exprs/literal.cc M be/src/exprs/literal.h M be/src/exprs/slot-ref.cc M be/src/runtime/timestamp-parse-util.h M be/src/runtime/timestamp-value.h M common/thrift/Exprs.thrift M common/thrift/Types.thrift M fe/src/main/java/com/cloudera/impala/analysis/LiteralExpr.java A fe/src/main/java/com/cloudera/impala/analysis/TimestampLiteral.java M fe/src/main/java/com/cloudera/impala/catalog/ScalarType.java M fe/src/main/java/com/cloudera/impala/planner/DataSourceScanNode.java M fe/src/main/java/com/cloudera/impala/planner/HdfsPartitionPruner.java M fe/src/test/java/com/cloudera/impala/analysis/AnalyzeDDLTest.java M fe/src/test/java/com/cloudera/impala/analysis/AnalyzerTest.java M fe/src/test/java/com/cloudera/impala/analysis/ExprTest.java M testdata/datasets/functional/functional_schema_template.sql M testdata/datasets/functional/schema_constraints.csv M testdata/workloads/functional-query/queries/QueryTest/partition-col-types.test A testdata/workloads/functional-query/queries/QueryTest/timestamp-partitions.test A tests/common/beeline.py M tests/metadata/test_hms_integration.py M tests/metadata/test_recover_partitions.py M tests/query_test/test_partitioning.py 26 files changed, 865 insertions(+), 167 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/21/1621/4 -- To view, visit http://gerrit.cloudera.org:8080/1621 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newpatchset Gerrit-Change-Id: Icad7dcdc1b199cce9483dc414072bbe24efd625c Gerrit-PatchSet: 4 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: Jim Apple <[email protected]> Gerrit-Reviewer: Dimitris Tsirogiannis <[email protected]> Gerrit-Reviewer: Jim Apple <[email protected]>
