spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gourav Sengupta <gourav.sengu...@gmail.com>
Subject Re: Spark read csv option - capture exception in a column in permissive mode
Date Mon, 17 Jun 2019 05:26:26 GMT
Hi,

it already does, I think, you just have to add the column in the schema
that you are using to read.

Regards,
Gourav

On Sun, Jun 16, 2019 at 2:48 PM <ajay.thompson@thedatateam.in> wrote:

> Hi Team,
>
>
>
> Can we have another column which gives the corrupted record reason in
> permissive mode while reading csv.
>
>
>
> Thanks,
>
> Ajay
>

Mime
View raw message