You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hop.apache.org by GitBox <gi...@apache.org> on 2022/12/01 08:43:58 UTC

[GitHub] [hop] mattcasters opened a new issue, #1856: [Bug]: Neo4j Constraint action should use 5.0 syntax

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

   ### Apache Hop version?
   
   2.2.0
   
   ### Java version?
   
   openjdk version "11.0.17" 2022-10-18
   
   ### Operating system
   
   Linux
   
   ### What happened?
   
   The Neo4j Constraint action throws an error against Neo4j 5.x databases:
   
   ```
   2022/12/01 09:42:10 - Neo4j Constraint - ERROR: Error creating constraint with cypher [CREATE CONSTRAINT pk_person_id IF NOT EXISTS ON (n:Person) ASSERT  n.ID IS UNIQUE ]
   2022/12/01 09:42:10 - Neo4j Constraint - ERROR: org.neo4j.driver.exceptions.ClientException: Invalid constraint syntax, ON and ASSERT should not be used. Replace ON with FOR and ASSERT with REQUIRE. (line 1, column 1 (offset: 0))
   2022/12/01 09:42:10 - Neo4j Constraint - "CREATE CONSTRAINT pk_person_id IF NOT EXISTS ON (n:Person) ASSERT  n.ID IS UNIQUE"
   ```
   
   ### Issue Priority
   
   Priority: 1
   
   ### Issue Component
   
   Component: Graph


-- 
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: dev-unsubscribe@hop.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [hop] hansva closed issue #1856: [Bug]: Neo4j Constraint action should use 5.0 syntax

Posted by GitBox <gi...@apache.org>.
hansva closed issue #1856: [Bug]: Neo4j Constraint action should use 5.0 syntax
URL: https://github.com/apache/hop/issues/1856


-- 
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: dev-unsubscribe@hop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org