[teiid-issues] [JBoss JIRA] Commented: (TEIID-1664) Teiid - Teradata queries containing LTRIM and RTRIM on the BQT booleanvalue column are returning unexpected BQT results
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Thu Jun 30 10:39:23 EDT 2011
[ https://issues.jboss.org/browse/TEIID-1664?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12612016#comment-12612016 ]
Ramesh Reddy commented on TEIID-1664:
-------------------------------------
It could not handle expressions like convert inside a convert, thus I did this
> Teiid - Teradata queries containing LTRIM and RTRIM on the BQT booleanvalue column are returning unexpected BQT results
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-1664
> URL: https://issues.jboss.org/browse/TEIID-1664
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 7.4.1
> Reporter: Warren Gibson
> Assignee: Steven Hawkins
> Attachments: QT_teradata12_Push.vdb
>
>
> Teiid - Teradata queries containing LTRIM and RTRIM on the BQT booleanvalue column are returning unexpected results. The following query should be returning 22 rows but 0 rows are returned.
> SELECT intkey, booleanvalue FROM BQT1.SmallA WHERE LTRIM(BQT1.SmallA.BooleanValue) = 'true' ORDER BY intkey
> However, if the LTRIM is removed like (SELECT intkey, booleanvalue FROM BQT1.SmallA WHERE BQT1.SmallA.BooleanValue = 'true' ORDER BY intkey) 22 rows are returned.
> This should be logged against Teiid 7.4.1
> VDB attached.
--
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