Bug 780691 (SOA-3139)

Summary: Teiid - Teradata queries containing LTRIM and RTRIM on the BQT booleanvalue column are returning unexpected BQT results
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Warren Gibson <wgibson>
Component: EDSAssignee: Van Halbert <vhalbert>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.2.0 GA   
Target Milestone: ---   
Target Release: 5.2.0 ER1   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-3139
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-10-11 17:12:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
QT_teradata12_Push.vdb none

Description Warren Gibson 2011-06-29 19:10:27 UTC
project_key: SOA

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.

Comment 1 Warren Gibson 2011-06-29 19:11:39 UTC
Attachment: Added: QT_teradata12_Push.vdb


Comment 2 Van Halbert 2011-06-29 19:24:39 UTC
Link: Added: This issue Cloned to SOA-3140


Comment 4 David Le Sage 2011-08-31 05:29:39 UTC
Release Notes Docs Status: Added: Not Required
Writer: Added: dlesage


Comment 5 Warren Gibson 2011-10-11 17:12:11 UTC
10/11/2011 Passed

Comment 6 JBoss JIRA Server 2012-05-18 10:19:19 UTC
Steven Hawkins <shawkins> updated the status of jira TEIID-1664 to Closed