For a similar problem where we wanted to preserve and track null entries,
we load the CSV as a DataSet[Array[Object]] and then transform it into
DataSet[Row] using a custom RowSerializer(
https://gist.github.com/Shiti/d0572c089cc08654019c) which handles null.

The Table API(which supports null) can then be used on the resulting
DataSet[Row].

On Fri, Oct 23, 2015 at 7:40 PM, Maximilian Michels <m...@apache.org> wrote:

> Hi Guido,
>
> This depends on your use case but you may read those values as type String
> and treat them accordingly.
>
> Cheers,
> Max
>
> On Fri, Oct 23, 2015 at 1:59 PM, Guido <gmazza...@gmail.com> wrote:
>
>> Hello,
>> I would like to ask if there were any particular ways to read or treat
>> null (e.g. Name, Lastname,, Age..) value in a dataset using readCsvFile,
>> without being forced to ignore them.
>>
>> Thanks for your time.
>> Guido
>>
>>
>

Reply via email to