Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
Impala 2.1.1, Impala 2.2
-
None
Description
As noted on Stack Overflow, the documentation for the TRUNC function is a bit unclear. Specifically, "DDD, DD, J: Day of the month" is confusing to me, as these arguments appear to simply cause the timestamp to be truncated at the level of the day (i.e. all hours, minutes, and seconds are stripped). I don't see the need to reference "month" in the description. Perhaps I'm misunderstanding though.