TEIID16052 org.teiid.core.TeiidException java.lang.ArrayIndexOutOfBoundsException with NVARCHAR datatype and OR clause
Issue
- Querying a
NVARCHAR
datatype column with an OR clause returns anjava.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, tools, and much more.