skywalking
skywalking copied to clipboard
[Bug] Wrong belong operation
Search before asking
- [X] I had searched in the issues and found no similar issues.
Apache SkyWalking Component
BanyanDB (apache/skywalking-banyandb)
What happened
According to https://github.com/apache/skywalking-banyandb/pull/170#pullrequestreview-1111537502, the BelongTo methods take "other" as the superset mistakenly. The correct superset should be the current receiver.
What you expected to happen
The correct behavior should be that {a, b} belongs to {a, b, c}.
How to reproduce
Using "having" to write a test case to produce this.
Anything else
No response
Are you willing to submit PR?
- [ ] Yes I am willing to submit a PR!
Code of Conduct
- [X] I agree to follow this project's Code of Conduct