Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-5471

string_agg should return null rather than empty over no values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 11.2, 11.1.1, 11.0.3
    • None
    • Query Engine
    • None

    Description

      For example the query:

      select string_agg(col, ',') from (select cast(null as string) as col) x

      Should return null rather than an empty string.

      Attachments

        Activity

          People

            rhn-engineering-shawkins Steven Hawkins
            rhn-engineering-shawkins Steven Hawkins
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: