Open acamillo opened 2 years ago
@acamillo Does your csv have a header? I'm wondering if it's actually trying to parse Time
with that date format.
@jcustenborder yes it does have header. However as by recommendation in various blogs I thought to force the schema myself
haha no please use the schema.
Try setting "csv.first.row.as.header":"true"
in your config.
@jcustenborder yes, that solved the problem. It was actually trying to parse the header line assuming it to be a normal data row.
Thanks for the super fast feedback.
If you don't mind taking a suggestion. The problem would have been much easier to spot (for me) if the exception output did contain the offending data row, that triggered the exception. Maybe in a future release ?
Hi, I am using v2.0.62 of the library with Kafka connect 6.1.0.
I am trying to parse CSV with values as:
abcd, 2022-01-10T23:09:55.000Z, abcdef, ....
Using this schema
Connector creation and configuration:
When running I get the following exception:
Any idea what could be the cause of the issue? Thank you.