bamaer opened a new issue, #2299:
URL: https://github.com/apache/hop/issues/2299

   ### Apache Hop version?
   
   SNAPSHOT-20230209
   
   ### Java version?
   
   openjdk version "11.0.17" 2022-10-18
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   when creating relationships from a field in the Neo4j Output transform, 
incorrect relationships are created when the value in the relationship value 
changes. 
   
   expected behaviour: create relationship with the actual value in the field. 
   
   The sample data set in this pipeline contains 22 relationship, 3 
relationship types. Only 2 relationship types and a number of incorrect 
relationships are created. 
   
   Batch size set to 1 to allow easy pinpointing: 
   
   1) `HAS_ORDER` relationship is missing
   
   
![image](https://user-images.githubusercontent.com/948257/217916714-e4f4bf83-dc5f-4be2-bb7e-d9d455fbe767.png)
   
   Iinstead the `HAS_ORDER` relationship, a `:HAS_DELIVERABLE` relationship is 
created. 
   This relationship is incorrect but does exist: `match 
path=(p:PROJECT)-[:HAS_DELIVERABLE]-(o:ORDER) return path` 
   
   
![image](https://user-images.githubusercontent.com/948257/217917529-168219af-2720-404b-b5fe-f8c7a2dc1d7a.png)
   
   2)  similarly, a `HAS_WORK` relationship is created instead of 
`HAS_DELIVERABLE` for the first `ORDER` - `DELIVERABLE` relationship in the 
set. 
   
   match path=(o:ORDER)-[:HAS_WORK]-() return path; 
   
   
![image](https://user-images.githubusercontent.com/948257/217918196-361fe5ca-bb86-474d-954a-2f994d08576f.png)
   
   
   
[issues-relationships.hpl.txt](https://github.com/apache/hop/files/10700911/issues-relationships.hpl.txt)
   
   
   
   
   ### Issue Priority
   
   Priority: 2
   
   ### Issue Component
   
   Component: Neo4j


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to