Re: Discarding header from CSV file
Posted by
Chiwan Park-2 on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Discarding-header-from-CSV-file-tp6474p6520.html
It seems that type of `buildingManager` is not matched to CSV column. In source code, `buildingManager` is defined as `Int`. But in your CSV file, it starts with a character `M`.
I succeeded in running the code with your CSV file after changing the type of `buildingManager` to `String`.
Regards,
Chiwan Park
> On Apr 28, 2016, at 9:51 AM, nsengupta <
[hidden email]> wrote:
>
> Hello Chiwan,
>
> Yes, that's an oversight on my part. In my hurry, I didn't even try to
> explore the source of that /Exception/. Thanks, again.
>
> However, I still don't know why I am not being able to read the CSV file. As
> the output shows, using standard IO routines, I can read the same file
> anyway.
>
> Could you spot my mistake?
>
> -- Nirmalya
>
>
>
> --
> View this message in context:
http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Discarding-header-from-CSV-file-tp6474p6519.html> Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.