Member since
07-25-2024
8
Posts
6
Kudos Received
0
Solutions
08-16-2024
03:30 AM
1 Kudo
HI Shiva239. The solution seems working for me but the child table(role) has an autoincrement PK column. SO how to insert value in autoincrement column Role Table: Id(pk auto increamne) Role_id(fk) Role_name 1 1 admin
... View more
08-13-2024
09:37 PM
1 Kudo
[ { "name": "sugam", "age": 30, "id": 1, "role": { "role": "Admin" } } ] I wanted to put name ,age, and id to user table then get the id from user table and put it in role table with role as admin Desired out put should be as below user table: Name age ID(pk) sugam 30 1 Role Table: Id(pk) Role_id(fk) Role_name 1 1 admin @mburgess @SAMSAL
... View more
08-13-2024
09:28 PM
@mburgess -- I am reading from Oracle table, not sure about the incoming flowfile
... View more
08-13-2024
06:15 AM
I am trying use LookupRecord LookupRecord from Oracle table and i am using Avro reader/writer in LookupRecord . BUt i am receiving below error Any suggestion @mburgess 2024-08-13 18:09:09,214 ERROR [Timer-Driven Process Thread-4] o.a.n.processors.standard.LookupRecord LookupRecord[id=3a641d1a-1b3c-1a47-2c18-b3541562e3ea] Could not determine schema to use for enriched FlowFiles org.apache.avro.InvalidAvroMagicException: Not an Avro data file.
... View more
Labels:
- Labels:
-
Apache NiFi
08-13-2024
02:24 AM
1 Kudo
I need to inject data read from elastic in Json format to two different tables having parent child relationship. i.e User table Name, Age, Role David,35,1
Tay,23,2
John,27,2 Role table: 1,admin
2,user My requirement is to insert in user table first get the Role ID and then include that id in next insert to dump data in Role table How can i achieve this thing Apache Nifi?@mburgess
... View more
Labels:
- Labels:
-
Apache NiFi
08-11-2024
10:15 PM
Need to save Json data to multiple child tables. How should i do?
... View more
Labels:
- Labels:
-
Apache NiFi
08-01-2024
10:47 PM
1 Kudo
@mburgess --I am using JsonQueryElasticSearch to fetch data from elastic .I am using query to fetch only one record using a particular event_id the processor reads the same data and duplicate records are stored in Oracle DB
... View more
Labels:
- Labels:
-
Apache NiFi
07-29-2024
11:44 PM
2 Kudos
@joshua_adeleke --How to check the sql queries generated. i am also facing same issue
... View more