vesoft-inc / nebula-importer

Nebula Graph Importer with Go
Apache License 2.0
90 stars 60 forks source link

feat: add filter #274

Closed veezhang closed 1 year ago

veezhang commented 1 year ago

What type of PR is this?

What problem(s) does this PR solve?

Issue(s) number:

271

Description:

How do you solve it?

Special notes for your reviewer, ex. impact of this fix, design document, etc:

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 94.16% and project coverage change: +0.10 :tada:

Comparison is base (1cd45ee) 90.20% compared to head (5c49e51) 90.30%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #274 +/- ## ========================================== + Coverage 90.20% 90.30% +0.10% ========================================== Files 75 76 +1 Lines 3350 3426 +76 ========================================== + Hits 3022 3094 +72 - Misses 323 326 +3 - Partials 5 6 +1 ``` | [Impacted Files](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc) | Coverage Δ | | |---|---|---| | [pkg/spec/base/builder\_mock.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvYmFzZS9idWlsZGVyX21vY2suZ28=) | `0.00% <0.00%> (ø)` | | | [pkg/importer/importer.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL2ltcG9ydGVyL2ltcG9ydGVyLmdv) | `95.38% <57.14%> (-4.62%)` | :arrow_down: | | [pkg/errors/import.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL2Vycm9ycy9pbXBvcnQuZ28=) | `100.00% <100.00%> (ø)` | | | [pkg/manager/manager.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL21hbmFnZXIvbWFuYWdlci5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/spec/base/builder.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvYmFzZS9idWlsZGVyLmdv) | `100.00% <100.00%> (ø)` | | | [pkg/spec/base/filter.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvYmFzZS9maWx0ZXIuZ28=) | `100.00% <100.00%> (ø)` | | | [pkg/spec/v3/edge.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvdjMvZWRnZS5nbw==) | `100.00% <100.00%> (ø)` | | | [pkg/spec/v3/graph.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvdjMvZ3JhcGguZ28=) | `100.00% <100.00%> (ø)` | | | [pkg/spec/v3/node.go](https://app.codecov.io/gh/vesoft-inc/nebula-importer/pull/274?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=vesoft-inc#diff-cGtnL3NwZWMvdjMvbm9kZS5nbw==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.