You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@nifi.apache.org by naga satish <cn...@gmail.com> on 2020/12/02 10:17:34 UTC

schema index out of range

Hi all, In record readers(CSVreader....) when schema strategy is set to
InferSchema, sometimes it keeps on giving error. the error states that index
of "student_name" is 1 but csv record as only 1 value. what is this error
and whayt causes this error?

thanks,
satish.

Re: schema index out of range

Posted by naga satish <cn...@gmail.com>.
Hi Matt, I'm trying to convert CSV to parquet. I'm using CSV reader and
configured schema strategy as inferschema. I'm facing this issue.

On Thu, 3 Dec 2020, 1:25 am Matt Burgess, <ma...@apache.org> wrote:

> Satish,
>
> Can you provide some sample data that causes this issue?
>
> Thanks,
> Matt
>
> On Wed, Dec 2, 2020 at 5:18 AM naga satish <cn...@gmail.com> wrote:
> >
> > Hi all, In record readers(CSVreader....) when schema strategy is set to
> InferSchema, sometimes it keeps on giving error. the error states that
> index of "student_name" is 1 but csv record as only 1 value. what is this
> error and whayt causes this error?
> >
> > thanks,
> > satish.
>

Re: schema index out of range

Posted by Matt Burgess <ma...@apache.org>.
Satish,

Can you provide some sample data that causes this issue?

Thanks,
Matt

On Wed, Dec 2, 2020 at 5:18 AM naga satish <cn...@gmail.com> wrote:
>
> Hi all, In record readers(CSVreader....) when schema strategy is set to InferSchema, sometimes it keeps on giving error. the error states that index of "student_name" is 1 but csv record as only 1 value. what is this error and whayt causes this error?
>
> thanks,
> satish.