-
Notifications
You must be signed in to change notification settings - Fork 421
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
Inserting values of different types in an array, transforms them into wrong data #1073
Comments
The solution that I came up with is to use the The Pull Request: #1084 |
@M4rcxs Please go back and correct all of toStringList, and related PRs. Please make sure you are compiling these locally with the correct flags.
|
The solution I came up is change from I'll open refacting PR's soon, thanks for your review! |
Ty! Btw, with regards to using float,... agtype's float is a float8. So, when you do refer to agtype's float, make sure to use float8 :) |
Thank you! done it at #1128 |
- This function is inspired by the "tostringlist" function in OpenCypher.https://neo4j.com/docs/cypher-manual/current/functions/list/#functions-tostringlist - toStringList() converts a list of values and returns a list of string values. If any values are not convertible to string they will be null in the list returned. - A list containing the converted elements; depending on the input value a converted value is either a string value or null. - Also added the regression tests - This PR fix the issue apache#1073
I've created a function in C language to AGE that converts a list of elements into a new list of string elements, based in toStringList of opencypher.
When I insert diferent data types in an array in a C inside my AGE, the returned array modifies the elements from the original array to be equal to the last element:
The toStringList() function:
The age--1.3.0.sql file
If someone knows how can I solve this I would be grateful for any kind of help or advice
The text was updated successfully, but these errors were encountered: