Defining Data Type for a property
Issue #38
closed
I am getting an error when creating a property on a node.
The data is a mix of numeric and text in the column.
The error is
Thread 41: Values for result_text have inconsistent types. Expected type: Long, but current value is "3.34" at row 266518
Is is possible to force the data type of the property?
Comments (4)
-
repo owner -
repo owner - changed status to closed
Closing this, please re-open if it doesn't resolve the problem.
-
reporter Vince is there a list of the available converters somewhere in the wiki?
-
repo owner There is
and
https://bitbucket.org/vbickers/neo4j-databridge/wiki/5.3%20Create%20a%20custom%20data%20converter
The first page could probably do with some explicit examples of each type, but if you read the entire page, it should be clear enough hopefully. In any case let me know if you have any questions.
- Log in to comment
Yes, you can use one of the built-in converters. In this case, your data is actually real-valued but the first few rows looked like integers, which is why you get the warning. So: