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

Highlighted
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
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.

View solution in original post


All Replies
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.

View solution in original post

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 2

Part 2 of a series on Context Variables

Blog

Best Practices for Using Context Variables with Talend – Part 1

Learn how to do cool things with Context Variables

Blog

Migrate Data from one Database to another with one Job using the Dynamic Schema

Find out how to migrate from one database to another using the Dynamic schema

Blog