[
https://issues.jboss.org/browse/TEIID-1665?page=com.atlassian.jira.plugin...
]
Mark Addleman commented on TEIID-1665:
--------------------------------------
Will it? My logic could be off. I'm thinking that
SELECT 'A' as A, 'B' as B FROM xyz GROUP BY A, B
will always result in either zero or one row depending on whether table xyz is empty or
not.
Optimize SELECT of all constants
--------------------------------
Key: TEIID-1665
URL:
https://issues.jboss.org/browse/TEIID-1665
Project: Teiid
Issue Type: Feature Request
Components: Query Engine
Affects Versions: 7.4
Reporter: Mark Addleman
Assignee: Steven Hawkins
Priority: Minor
If a translator supports LIMIT but does not support select expressions, SELECT
'A' as A, 'B' as B FROM xyz GROUP BY A, B should be written as SELECT *
FROM xyz LIMIT 1
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira