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

DB2 substring index bounds are different than teiid

    XMLWordPrintable

Details

    • Quality Risk
    • Resolution: Done
    • Minor
    • 7.4
    • 7.0
    • Misc. Connectors
    • None

    Description

      DB2/Derby do not allow the start argument to be negative or be greater than or equal to the length. The length parameter cannot be negative (Teiid returns null), and it plus the start cannot exceed the string length.

      In general we are inconsistent with our handling of negative string indexing. For example the locate function. We should look at making this more consistent in Teiid 8.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: