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

Consider using Algebird's Aggregator instead of org.apache.spark.sql.expressions.Aggregator

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • None
    • None
    • None

    Description

      Mansur (https://twitter.com/mansur_ashraf) pointed out this comment in spark's Aggregator here:
      "Based loosely on Aggregator from Algebird: https://github.com/twitter/algebird"
      https://github.com/apache/spark/blob/master/sql/core/src/main/scala/org/apache/spark/sql/expressions/Aggregator.scala#L46

      Which got a few of us wondering, given that this API is still experimental, would you consider using algebird's Aggregator API directly instead?

      The algebird API is not coupled with any implementation details, and shouldn't have any extra dependencies.

      Are there any blockers to doing that?

      Thanks!
      Alex

      Attachments

        Activity

          People

            Unassigned Unassigned
            alexlevenson Alex Levenson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: