Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mandatory property check fail with Cypher #2019

Open
ExtReMLapin opened this issue Feb 28, 2025 · 2 comments
Open

mandatory property check fail with Cypher #2019

ExtReMLapin opened this issue Feb 28, 2025 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@ExtReMLapin
Copy link
Contributor

ExtReMLapin commented Feb 28, 2025

Hello,

Creating a property with mandatory fails to correctly detect the property is used in cypher.

sample database

GSDFGDG.zip

Query to execute :

CREATE (p:EMBEDDING {vector: [-0.00931549072265625, 0.032073974609375, -0.005565643310546875, -0.01354217529296875]})
  

Error :

Cannot execute command The property 'EMBEDDING.vector' is mandatory, but not found on record: @EMBEDDING[]


INSERT INTO EMBEDDING SET vector = [-0.00931549072265625, 0.032073974609375, -0.005565643310546875, -0.01354217529296875]

Works fine

@ExtReMLapin
Copy link
Contributor Author

In validateField method, in cypher document.map is empty, not with SQL.

@lvca
Copy link
Contributor

lvca commented Mar 3, 2025

I think with cypher the insert is a 2 step process, first it inserts the record empty, then updates the properties.

@lvca lvca self-assigned this Mar 3, 2025
@lvca lvca added the bug Something isn't working label Mar 3, 2025
@lvca lvca modified the milestones: 25.3.1, 25.3.2 Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants