Parsing arrays that contain '[ xxx]' strings
YaphetKG opened this issue · 2 comments
YaphetKG commented
When trying to bulk load data like this :
id:ID|names:ARRAY
bogusID|['selenophosphoric acid','trihydroxidoselenidophosphorus','[P(OH)3Se]']
This raises an exception where bulk loader tries to infertypes with in the array elements and ends up trying to parse
[P(OH)3Se] as an array. Is it relevant to try to parse array internal items as arrays ? Not sure if redisgraph supports nested arrays?
jeffreylovitz commented
Hi @YaphetKG,
RedisGraph and the bulk loader both support nested arrays, but since the schema header doesn't specify the types of values within array fields, we must resort to inference.
I believe this problem is resolved by your PR, correct?
YaphetKG commented
Hi @jeffreylovitz, that is correct. Closing this issue.
Resolved by #46