You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I set sources.edges.filter.expr: expr: Record[4] != "" in yaml file, then run nebula-importer. The procedure succeeded with no error or warning, but i checked the data imported into graph, the filter expression didn't work, the record with Record[4]=="" was imported to database.
Linux 3.10.0-1127.18.2.el7.x86_64 nebula-importer-4.0.0 nebulaGraph-3.6.0
Steps to reproduce the behavior:
prepare csv file 《sample.csv》
prepare yaml file 《sample.yaml》
./bin/nebula-importer --config sample.yaml
searching in studio with command match (n:PERSON)-[e:WORK]->(m:PERSON) where id(n)=="333" return e;
@marcus-Tian maybe give a try on verifying via non "" like none/null in the expression(not familiar with golang, and am on mobile device to verify it on my own)
@marcus-Tian Hi, the filter is supported starting from 4.1.0, maybe you need upgrade the nebula-importer.
U can download in the releases page.
cc @wey-gu
Hi, I have noticed that the issue you created hasn’t been updated for nearly a month, so I have to close it for now. If you have any new updates, you are welcome to reopen this issue anytime.
I set
sources.edges.filter.expr: expr: Record[4] != ""
in yaml file, then run nebula-importer. The procedure succeeded with no error or warning, but i checked the data imported into graph, the filter expression didn't work, the record withRecord[4]==""
was imported to database.Linux 3.10.0-1127.18.2.el7.x86_64
nebula-importer-4.0.0
nebulaGraph-3.6.0
Steps to reproduce the behavior:
match (n:PERSON)-[e:WORK]->(m:PERSON) where id(n)=="333" return e;
referred files:
1、《sample.csv》
sample.csv
2、《sample.yaml》
sample.txt
The text was updated successfully, but these errors were encountered: