Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-2026

Clarify TRUNC documentation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Impala 2.1.1, Impala 2.2
    • None
    • Docs

    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.

      Attachments

        Activity

          People

            jrussell John Russell
            hammer Jeff Hammerbacher
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: