hammadsaleemm commented on issue #791:
URL: https://github.com/apache/age/issues/791#issuecomment-1500866634

   It looks like you have encountered a bug in Apache Age when using certain 
OpenCypher functions (rand() and pi()) to set the value of a Node or Edge 
property. Specifically, setting the property to rand() or pi() without adding + 
0 at the end can cause a segmentation fault error.
   
   The error seems to be related to how Apache Age transfers the value of the 
property to the underlying PostgreSQL database. The datumTransfer function in 
the datum.c file is called, and it appears that the function is not handling 
the rand() and pi() values correctly.
   
   One potential workaround is to add + 0 to the end of the rand() or pi() 
value, as you mentioned. This may allow the program to function properly 
without causing a segmentation fault error.
   
   It may also be worth reporting this bug to the Apache Age development team, 
so that they can investigate and address the issue in a future release.


-- 
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-unsubscr...@age.apache.org

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

Reply via email to