impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Zoltan Ivanfi (Code Review)" <>
Subject [Impala-ASF-CR] IMPALA-3504: [DOCS] Document utc timestamp()
Date Mon, 09 Oct 2017 10:22:28 GMT
Zoltan Ivanfi has posted comments on this change. ( )

Change subject: IMPALA-3504: [DOCS] Document utc_timestamp()

Patch Set 2:

File docs/topics/impala_datetime_functions.xml:
PS2, Line 2543:             For working with date/time values represented as integer values,
you can convert
The most typical integer timestamp representation is the number of seconds (not microsecs)
elapsed since the Unix epoch. It may be worth including specific instructions for dealing
with these. If there are no conversion functions for these, then I suggest providing examples
incorporating multiplication and division.
PS2, Line 2545:             with the <codeph>unix_micros_to_utc_timestamp()</codeph>
Shouldn't the unix_micros_to_utc_timestamp and utc_to_unix_micros functions be briefly documented
separately as well, just like the from_unixtime and unix_timestamp functions are? At least
an indexterm should be added in my opinion.
PS2, Line 2557: select now(), utc_timestamp();
(nit, optional) This pairing of functions for the queries seems quite arbitrary to me and
makes it hard to compare all three functions. I would suggest examples showing either each
function separately (3 queries) or all of them in a single query:

select now(), current_timestamp(), utc_timestamp();

To view, visit
To unsubscribe, visit

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia2662fc79d588f22a24a5067429a57b3c0d0f0f0
Gerrit-Change-Number: 8190
Gerrit-PatchSet: 2
Gerrit-Owner: John Russell <>
Gerrit-Reviewer: Alex Behm <>
Gerrit-Reviewer: Bikramjeet Vig <>
Gerrit-Reviewer: Greg Rahn <>
Gerrit-Reviewer: Impala Public Jenkins
Gerrit-Reviewer: John Russell <>
Gerrit-Reviewer: Lars Volker <>
Gerrit-Reviewer: Zoltan Ivanfi <>
Gerrit-Comment-Date: Mon, 09 Oct 2017 10:22:28 +0000
Gerrit-HasComments: Yes

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