]
Matej Kralik closed TEIIDDES-2550.
----------------------------------
I have not been able reproduce this. I tried it with Teiid Designer 9.0.5.Final,
9.1.0.Final and 10.0.1
parseTimestamp function in Transformation Editor gives
StringIndexOutOfBounds Exception
---------------------------------------------------------------------------------------
Key: TEIIDDES-2550
URL:
https://issues.jboss.org/browse/TEIIDDES-2550
Project: Teiid Designer
Issue Type: Bug
Components: Modeling, Patch Release, Transformations
Affects Versions: 9.1
Environment: Teiid 8.7.1.redhat-8 and Teiid Designer 9.1.0.Beta1
Reporter: Daan Creemers
Assignee: Paul Richardson
Labels: verified_jbdsis-9.0.0.Beta
Fix For: 10.0.1, 9.2.1
Attachments: ParseTimestamp-Project.png, TestParseTimestamp.tar.gz
When using the parseTimestamp function in the transformation editor while creating a
relational view model, a StringIndexOutOfBoundsException is thrown. The query SELECT
parseTimestamp('18:10:20', 'HH:mm:ss') is used in the transformation
editor which gives 'String index out of range: 1'. I want to use the function with
a column of my table but produces the same error.
When deploying a virtual database and executing exactly the same query on the database,
the query finishes successfully and gives the result.