Skip to content

Conversation

@goungoun
Copy link
Contributor

What changes were proposed in this pull request?

This PR ensures that a negated bidirectional edge !(u)<-[]->(v) is not supported. It includes the parse exception handling and documentation.

Why are the changes needed?

The existing code converts the bidirectional motif pattern !(u)<-[]->(v) to !(u)-[]->(v);(v)-[]->(u) which is wrong.

@goungoun goungoun changed the title [Fix] Prevent negated bidirectional edge bug: Prevent negated bidirectional edge Oct 17, 2025
@codecov-commenter
Copy link

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.71%. Comparing base (a2d2a91) to head (d578560).
⚠️ Report is 4 commits behind head on main.
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #739      +/-   ##
==========================================
- Coverage   86.60%   84.71%   -1.89%     
==========================================
  Files          63       63              
  Lines        2881     2983     +102     
  Branches      321      350      +29     
==========================================
+ Hits         2495     2527      +32     
- Misses        386      456      +70     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@goungoun goungoun marked this pull request as ready for review October 17, 2025 14:26
@goungoun goungoun changed the title bug: Prevent negated bidirectional edge bug: prevent negated bidirectional edge Oct 17, 2025
Copy link
Collaborator

@SemyonSinchenko SemyonSinchenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@SemyonSinchenko SemyonSinchenko merged commit 7c82387 into graphframes:main Oct 17, 2025
5 checks passed
@goungoun
Copy link
Contributor Author

@SemyonSinchenko, thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants