order for this to work.
I hope this helps other people as well.
Best regards,
Panos
Date: Mon, 25 Apr 2016 17:37:36 +0300
Subject: Re: AvroRuntimeException : Duplicate field name
From: toivo.ad...@gmail.com
To: users@nifi.apache.org
Hi Panos,
NiFi inc
RE plant.plant_id=area.plant_id;"
>
> Aliases in the SQL statement are ignored by the SQL execute processor.
> Direct (i.e. no through NiFi) SQL statement execution in MariaDB works
> correctly.
>
> I would appreciate any help with this.
>
> Many thanks in advance,
> Panos
rough NiFi) SQL statement execution in MariaDB works correctly.
I would appreciate any help with this.
Many thanks in advance,Panos
Date: Thu, 21 Apr 2016 19:36:22 +0300
Subject: Re: AvroRuntimeException : Duplicate field name
From: toivo.ad...@gmail.com
To: users@nifi.apache.org
It seems ExecuteSQ
> Date: Thu, 21 Apr 2016 19:16:46 +0300
>
> Subject: Re: AvroRuntimeException : Duplicate field name
> From: toivo.ad...@gmail.com
> To: users@nifi.apache.org
>
> Sorry, I didn't read your email carefully enough.
>
> Alias should work.
> Which database y
...
Thanks,Panos
Date: Thu, 21 Apr 2016 19:16:46 +0300
Subject: Re: AvroRuntimeException : Duplicate field name
From: toivo.ad...@gmail.com
To: users@nifi.apache.org
Sorry, I didn't read your email carefully enough.
Alias should work.
Which database you are using?
thanks
toivo
2016-04-21 19:05 GMT+
difference. It appears as if they are ignored and
> I am getting the same error.
>
> Any other thoughts?
>
> Many thanks,
> Panos
>
>
> --
> Date: Thu, 21 Apr 2016 18:59:33 +0300
> Subject: Re: AvroRuntimeException : Duplica
t: Re: AvroRuntimeException : Duplicate field name
From: toivo.ad...@gmail.com
To: users@nifi.apache.org
Hi,
Field names should be unique.
Currently after executing query both 'plant.name' and 'area.name' will be just
same 'name'
You can use alias to have unique name, like:
SELEC
Hi,
Field names should be unique.
Currently after executing query both 'plant.name' and 'area.name' will be
just same 'name'
You can use alias to have unique name, like:
SELECT plant.name as pname, area.area_id, area.name as aname
thanks
toivo
2016-04-21 18:51 GMT+03:00 Panos Geo :
> Hello all
Hello all,I would appreciate your help in the Avro error that I am seeing. I am
executing the following very simple SQL select statement using the ExecuteSQL
processor : SELECT plant.name, area.area_id, area.nameFROM plant, area WHERE
plant.plant_id=area.plant_id;…and I get the following erro