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

Speed up DATE to STRING conversion

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Impala 4.3.0
    • be
    • None
    • ghx-label-10

    Description

      Converting DATE to STRING is slower than converting TIMESTAMP to STRING which is weird as TIMESTAMP handling should need more work. The culprit seems to be using stringstream in DateValue.ToString(): https://github.com/apache/impala/blob/14698c8b99b80db7e6fd99900e32b6742bef1662/be/src/runtime/date-value.cc#L433

      As dates are returned as string to the client this also slow down the materialization of results on the coordinator.

      Attachments

        Activity

          People

            Unassigned Unassigned
            csringhofer Csaba Ringhofer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: