[teiid-issues] [JBoss JIRA] Commented: (TEIID-1665) Optimize SELECT of all constants
Steven Hawkins (JIRA)
jira-events at lists.jboss.org
Thu Jun 30 12:18:27 EDT 2011
[ https://issues.jboss.org/browse/TEIID-1665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612052#comment-12612052 ]
Steven Hawkins commented on TEIID-1665:
---------------------------------------
Do you mean something like:
SELECT A, B FROM (SELECT 'A' AS A, 'B' AS B FROM XYZ) X GROUP BY A, B
otherwise in your example you will still need to evaluate the grouping.
> 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
More information about the teiid-issues
mailing list