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

[UDAF] implement GROUP_CONCAT(expr)

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • None
    • None
    • None
    • None

    Description

      It's a very useful udaf for us.
      http://dev.mysql.com/doc/refman/5.0/en/group-by-functions.html#function_group-concat

      GROUP_CONCAT(expr)

      This function returns a string result with the concatenated non-NULL values from a group. It returns NULL if there are no non-NULL values. The full syntax is as follows:

      GROUP_CONCAT([DISTINCT] expr [,expr ...]
      [ORDER BY

      {unsigned_integer | col_name | expr}

      [ASC | DESC] [,col_name ...]]
      [SEPARATOR str_val])

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              coderplay Min Zhou
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: