Skip to content

Conversation

@joelrobin18
Copy link
Contributor

What changes were proposed in this pull request?

Implementation of Type Degree methods such as typeDegree, typeInDegree, TypeOutDegree

Why are the changes needed?

Fix #519

Signed-off-by: joelrobin18 <[email protected]>
Signed-off-by: joelrobin18 <[email protected]>
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 overall, thanks for the contribution @joelrobin18 !

Please, address pythoncode style issues.

Related to:

[error] /home/runner/work/graphframes/graphframes/core/src/main/scala/org/graphframes/GraphFrame.scala:338:36: Passing an explicit array value to a Scala varargs method is deprecated (since 2.13.0) and will result in a defensive copy; Use the more efficient non-copying ArraySeq.unsafeWrapArray or an explicit toIndexedSeq call

We cannot drop 2.12 now because we should support 3.5.x branch. Can you add a @nowarn?

Thanks!

Signed-off-by: joelrobin18 <[email protected]>
@joelrobin18 joelrobin18 force-pushed the feat/graphframe-type-degree-method branch from f8195b0 to 638c549 Compare October 23, 2025 01:26
@SemyonSinchenko
Copy link
Collaborator

Thanks for the contribution @joelrobin18 !

@SemyonSinchenko SemyonSinchenko merged commit acf6f26 into graphframes:main Oct 23, 2025
5 checks passed
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.

feat: create GraphFrame.typeDegree() to provide degree by relationship type

3 participants