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

Native Vector GROUP BY

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Patch Available
    • Critical
    • Resolution: Unresolved
    • None
    • None
    • Hive
    • None

    Description

      Implement Native Vector GroupBy using fast hash table technology developed for Native Vector MapJoin, etc.

      Patch is currently limited to a single COUNT aggregation.  Or, no aggregation also known as duplicate reduction.

      Here are examples of new kinds of classes introduces that stored the count in the slot table and don't allocate hash elements:

        COUNT(column)  VectorGroupByHashLongKeySingleCountColumnOperator      
        COUNT(key)     VectorGroupByHashLongKeySingleCountKeyOperator            
        COUNT(*)       VectorGroupByHashLongKeySingleCountStarOperator           
      

      And the duplicate reduction operator a single key.  Example:

        VectorGroupByHashLongKeyDuplicateReductionOperator
      

      Attachments

        1. HIVE-12369.01.patch
          2.10 MB
          Matt McCline
        2. HIVE-12369.02.patch
          5.68 MB
          Matt McCline
        3. HIVE-12369.05.patch
          2.39 MB
          Matt McCline
        4. HIVE-12369.06.patch
          2.39 MB
          Matt McCline
        5. HIVE-12369.091.patch
          489 kB
          Matt McCline
        6. HIVE-12369.094.patch
          1.47 MB
          Matt McCline
        7. HIVE-12369.095.patch
          1.54 MB
          Matt McCline
        8. HIVE-12369.096.patch
          1.98 MB
          Matt McCline
        9. HIVE-12369.097.patch
          2.36 MB
          Matt McCline
        10. HIVE-12369.098.patch
          2.38 MB
          Matt McCline
        11. HIVE-12369.099.patch
          2.38 MB
          Matt McCline
        12. HIVE-12369.0991.patch
          2.38 MB
          Matt McCline
        13. HIVE-12369.0992.patch
          2.33 MB
          Matt McCline
        14. HIVE-12369.0993.patch
          2.32 MB
          Matt McCline
        15. HIVE-12369.0994.patch
          2.34 MB
          Matt McCline
        16. HIVE-12369.0995.patch
          2.45 MB
          Matt McCline
        17. HIVE-12369.0996.patch
          2.48 MB
          Matt McCline
        18. HIVE-12369.0998.patch
          2.83 MB
          Matt McCline

        Issue Links

          Activity

            People

              mmccline Matt McCline
              mmccline Matt McCline
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: