TEIID16052 org.teiid.core.TeiidException java.lang.ArrayIndexOutOfBoundsException with NVARCHAR datatype and OR clause

Solution In Progress - Updated -

Issue

  • Querying a NVARCHAR datatype column with an OR clause returns an java.lang.ArrayIndexOutOfBoundsException

Environment

  • Red Hat JBoss Data Virtualization (DV) 6.4
  • Microsoft SQL Server NVARCHAR column
  • SQL query with OR Operator:
SELECT g0.ITEM_ID
FROM ExampleView AS g0
WHERE (g0.NBR = CONVERT('V1234', string))
OR (g0.NBR = CONVERT('V4568', string))
ORDER BY g0.NBR

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In