Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-28545

Add the hash map size to the directional log of ObjectAggregationIterator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0
    • 2.3.4, 2.4.4, 3.0.0
    • SQL
    • None

    Description

      `ObjectAggregationIterator` shows a directional info message to increase `spark.sql.objectHashAggregate.sortBased.fallbackThreshold` when the size of the in-memory hash map grows too large and it falls back to sort-based aggregation.

      However, we don't know how much we need to increase. This issue add the size of the current in-memory hash map size to the log message.

      Attachments

        Issue Links

          Activity

            People

              dongjoon Dongjoon Hyun
              dongjoon Dongjoon Hyun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: