flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Flavio Pompermaier <pomperma...@okkam.it>
Subject Re: CSV header management
Date Fri, 17 Apr 2015 19:03:57 GMT
My csv has 32 columns,ia there a way to create a Dataset<String[32]>?
On Apr 17, 2015 7:53 PM, "Stephan Ewen" <sewen@apache.org> wrote:

> I don't think there is any built-in functionality for that.
>
> You can probably read the header with some custom code (in the driver
> program) and use the CSV reader (skipping the header) as a regular data
> source.
>
> On Fri, Apr 17, 2015 at 5:03 PM, Flavio Pompermaier <pompermaier@okkam.it>
> wrote:
>
>> Hi guys,
>> how can I read a csv but keeping the header in  some variable without
>> throwing it away?
>>
>> Thanks in advance,
>> Flavio
>>
>
>

Mime
View raw message