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

string_agg should return null rather than empty over no values

XMLWordPrintable

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

      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.

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

                Created:
                Updated:
                Resolved: