Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1372

New algorithm for variance() UDAF

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.6.0
    • 0.6.0
    • Query Processor
    • None
    • Reviewed

    Description

      A new algorithm for the UDAF that computes variance. This is pretty much a drop-in replacement for the current UDAF, and has two benefits: provably numerically stable (reference included in comments), and reduces arithmetic operations by about half.

      Attachments

        1. HIVE-1372.patch
          3 kB
          Mayank Lahiri
        2. HIVE-1372.2.patch
          3 kB
          Mayank Lahiri
        3. HIVE-1372.3.patch
          5 kB
          Mayank Lahiri

        Activity

          People

            mayanklahiri Mayank Lahiri
            mayanklahiri Mayank Lahiri
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: