Zoltan Borok-Nagy has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16951


Change subject: IMPALA-10426: Fix crash when inserting invalid timestamps
......................................................................

IMPALA-10426: Fix crash when inserting invalid timestamps

Insertion of invalid timestamps causes Impala to crash when it uses
the INT64 Parquet timestamp types.

This patch fixes the error by checking for null values in
Int64TimestampColumnWriterBase::ConvertValue().

Testing:
 * added e2e tests

Change-Id: I74fb754580663c99e1d8c3b73f8d62ea3305ac93
---
M be/src/exec/parquet/hdfs-parquet-table-writer.cc
M 
testdata/workloads/functional-query/queries/QueryTest/parquet-int64-timestamps.test
2 files changed, 41 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/51/16951/1
--
To view, visit http://gerrit.cloudera.org:8080/16951
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I74fb754580663c99e1d8c3b73f8d62ea3305ac93
Gerrit-Change-Number: 16951
Gerrit-PatchSet: 1
Gerrit-Owner: Zoltan Borok-Nagy <[email protected]>

Reply via email to