Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue apache#1347 - unknow type of agtype container 0 (apache#1349)
The error was caused by the Datum referenced by edge_entry->edge_properties becoming non-persistent. As a result, the pointer becomes dangling. This issue is fixed by making a copy of the Datum into the MemoryContext it is used. The fix is also applied to vertex_entry->vertex_properties. Thanks to John for finding out the correct function to copy a Datum. Co-authored-by: John Gemignani <jrgemignani@gmail.com>
- Loading branch information