[
https://issues.jboss.org/browse/TEIID-2779?page=com.atlassian.jira.plugin...
]
Andriy Rokhmanov commented on TEIID-2779:
-----------------------------------------
We did additional research, seems DB2 for z/OS V9.1 in Conversion Mode does not support
ORDER BY inside CTE either. Error message we are getting: "ATTEMPT TO USE NEW
FUNCTION BEFORE NEW FUNCTION MODE. SQLCODE=-4700, SQLSTATE=56038, DRIVER=4.12.55"
The approach proposed on 20/Dec/13 3:46 PM does not help either. This makes CTE approach
for DB2 on z/OS a very difficult to keep for certain DB2 versions.
Configurable CommonTableExpression support for DB2
--------------------------------------------------
Key: TEIID-2779
URL:
https://issues.jboss.org/browse/TEIID-2779
Project: Teiid
Issue Type: Feature Request
Components: JDBC Connector
Affects Versions: 8.5
Reporter: Andriy Rokhmanov
Assignee: Steven Hawkins
Fix For: 8.7
The LIMIT clause (FETCH FIRST...) inside CTE (WITH...) is not supported on pre-V9
versions of DB2 on z/OS, or new versions of DB2 running in Compatibility Mode.
The CTE support in DB2 translator should be configurable.
See more information:
https://community.jboss.org/thread/235503
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira