]
Steven Hawkins resolved TEIID-939.
----------------------------------
Resolution: Done
Added a general fix to SQLStringVisitor to only add nesting parens when needed.
MySQL nested set query pushdown failure
---------------------------------------
Key: TEIID-939
URL:
https://jira.jboss.org/jira/browse/TEIID-939
Project: Teiid
Issue Type: Bug
Components: JDBC Connector
Affects Versions: 6.0.0
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 7.0
By default our translator is adding parens around nested set queries, this is not
supported by MySQL. The parens can safely be dropped as long as both the parent and the
child are the same set operation (union, or union all). This generic solution still
leaves the problem for MySQL that you cannot left nest a union under a union all. That
case should be rare and can be worked around on mysql 5.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: