[resolved] Type Mismatch:cannot convert from String to Date error

One Star

[resolved] Type Mismatch:cannot convert from String to Date error

When using tFixedFlowInput, I have a column called `filterStart` which is a Date type using the date pattern "yyyy-MM-dd'T'HH:mm:ss".
Within the inline table for the component I have `filterStart` with a value of "2013-01-01T12:00:00".
I cannot figure out why it is dropping a type mismatch cannot convert string to date error in this component... Any ideas?
Thanks,
T.

Accepted Solutions
Highlighted
One Star

Re: [resolved] Type Mismatch:cannot convert from String to Date error

Ok, sort of progress.... changed the value of filterStart to:
TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ss","2013-01-01T12:00:00")

Everything checks out, now getting
Exception in component tWebService_5
java.lang.IllegalArgumentException: You must provide a Map to create a complexType.

All Replies
Highlighted
One Star

Re: [resolved] Type Mismatch:cannot convert from String to Date error

Ok, sort of progress.... changed the value of filterStart to:
TalendDate.parseDate("yyyy-MM-dd'T'HH:mm:ss","2013-01-01T12:00:00")

Everything checks out, now getting
Exception in component tWebService_5
java.lang.IllegalArgumentException: You must provide a Map to create a complexType.

Tutorial

Introduction to Talend Open Studio for Data Integration.

Definitive Guide to Data Integration

Practical steps to developing your data integration strategy.

Definitive Guide to Data Quality

Create systems and workflow to manage clean data ingestion and data transformation.