-
Enhancement
-
Resolution: Done
-
Major
-
None
-
None
-
Undefined
We are using Teiid via OData and connected to a postgresql database. We found following problem:
If a OData request uses the $orderby=x attribute Teiid generates a SQL query with ORDER BY x NULLS FIRST. This leads to a performance problem if the index of the column is created, as it is the default, wit NULLS LAST. The query runs slow for big tables because the index is not used.
Perhaps this code must be changed but I am not sure:
- is related to
-
TEIID-5601 OData needs to account for source order and org.teiid.defaultNullOrder
- Resolved