impala-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jim Apple (Code Review)" <ger...@cloudera.org>
Subject [Impala-CR](cdh5-trunk) IMPALA-1903: Add support for partitioning by TIMESTAMP
Date Thu, 10 Mar 2016 18:05:48 GMT
Jim Apple has uploaded a new patch set (#5).

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, 864 insertions(+), 167 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/21/1621/5
-- 
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: 5
Gerrit-Project: Impala
Gerrit-Branch: cdh5-trunk
Gerrit-Owner: Jim Apple <jbapple@cloudera.com>
Gerrit-Reviewer: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com>
Gerrit-Reviewer: Jim Apple <jbapple@cloudera.com>

Mime
View raw message