Bug 781152 (SOA-3651) - Misc. Salesforce Translator Issues (for SOA-P)
Summary: Misc. Salesforce Translator Issues (for SOA-P)
Keywords:
Status: RELEASE_PENDING
Alias: SOA-3651
Product: JBoss Enterprise SOA Platform 5
Classification: JBoss
Component: EDS
Version: 5.2.0 GA
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ER4
: 5.3.0 GA
Assignee: Van Halbert
QA Contact: Mike Harvey
URL: http://jira.jboss.org/jira/browse/SOA...
Whiteboard:
Depends On:
Blocks: SOA-3658
TreeView+ depends on / blocked
 
Reported: 2011-12-01 21:01 UTC by Rick Wagner
Modified: 2020-10-20 21:07 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Errors were appearing when using tables from the Salesforce Translator. When querying a BusinessHours table imported from Salesforce, an error was thrown indicating a transformation failure. This has been fixed so the Salesforce time format is handled correctly. The tables will display as expected.
Clone Of:
Environment:
Last Closed:
Type: Bug


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SOA-3651 0 Major Closed Misc. Salesforce Translator Issues (for SOA-P) 2018-06-12 02:43:32 UTC
Red Hat Issue Tracker TEIID-1852 0 Major Closed Misc. Salesforce Translator Issues 2018-06-12 02:43:32 UTC

Description Rick Wagner 2011-12-01 21:01:06 UTC
Steps to Reproduce: 1 - deploy the attached VDB, SFTestVDB.vdb
2 - execute query "SELECT Name,CreatedDate,MondayStartTime FROM SFTest.salesforce.BusinessHours"
project_key: SOA

Query the BusinessHours table imported from Salesforce, which contains columns with 'time' datatype.

For example, the query:
SELECT Name,CreatedDate,MondayStartTime FROM SFTest.salesforce.BusinessHours

Results in:
Error Code:ERR.003.029.0025 Message:Failed to transform String to Time.  Expected format = hh:mm:ss for 08:00:00.000Z

It looks like the code in QueryExecutionImpl.getCellDatum needs to handle translation of the salesforce time format

Other issues:

- nil string values will be returned as empty instead of null.

- non-join criteria of the form column1 = column2 is rendered inappropriately (however it is not supported by SF we should look at restricting criteria support to literals)

- IN predicate time/date/timestamp values are not formatted correctly

- timezones are ignored on returned time/timestamp values.  So unless the server is in the same timezone as the values (typically Z/GMT) the local value will be incorrect.

- a timezone is not included on literal times, which has the same issue as above.

- IS NULL support should be added using col = NULL

Comment 1 Rick Wagner 2011-12-01 21:01:07 UTC
Link: Added: This issue Cloned from TEIID-1852


Comment 2 Rick Wagner 2011-12-01 21:01:59 UTC
Security: Added: Public


Comment 3 jolee 2011-12-09 15:14:53 UTC
Link: Added: This issue is a dependency of SOA-3656


Comment 4 jolee 2011-12-09 16:50:49 UTC
Link: Added: This issue Cloned to SOA-3658


Comment 5 jolee 2011-12-09 16:55:40 UTC
Link: Added: This issue is a dependency of SOA-3658


Comment 6 jolee 2011-12-09 16:55:48 UTC
Link: Removed: This issue Cloned to SOA-3658 


Comment 7 jolee 2011-12-09 16:56:15 UTC
Link: Removed: This issue is a dependency of SOA-3656 


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

Comment 10 Suz 2012-06-13 04:16:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Errors were appearing when using tables from the Salesforce Translator. When querying a BusinessHours table imported from Salesforce, an error was thrown indicating a transformation failure. This has been fixed so the Salesforce time format is handled correctly. The tables will display as expected.

Comment 11 Paul Nittel 2012-07-11 15:00:25 UTC
I verified this using ER5. It works.


Note You need to log in before you can comment on or make changes to this bug.