impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Csaba Ringhofer (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-5664: Unix time to timestamp conversions may crash Impala
Date Mon, 02 Oct 2017 18:00:10 GMT
Csaba Ringhofer has posted comments on this change. (

Change subject: IMPALA-5664: Unix time to timestamp conversions may crash Impala

Patch Set 2:

File be/src/runtime/timestamp-value.h:
PS2, Line 86:     }
> But what we need is to log to the warning log, like the code in timestamp-f
I have added some logging to warning. The string -> timestamp cast is not related to this
issue, but I think it is very useful to warn the user about the invalid formatting.

I have left the logging in TimestampValue::Validate, maybe it will be useful for postmortem
analysis one day.
File be/src/runtime/
PS8, Line 116: /// The time zone of the resulting ptime is local time. This is called by
> nit: for style consistency combine lines 115 & 116.

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I77b2f6284d3a597f57e61c17a67c959eff9e38ff
Gerrit-Change-Number: 7954
Gerrit-PatchSet: 2
Gerrit-Owner: Csaba Ringhofer <>
Gerrit-Reviewer: Csaba Ringhofer <>
Gerrit-Reviewer: Dan Hecht <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Comment-Date: Mon, 02 Oct 2017 18:00:10 +0000
Gerrit-HasComments: Yes

  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message