Skip to content

Conversation

dongjoon-hyun
Copy link
Member

@dongjoon-hyun dongjoon-hyun commented Apr 25, 2025

What changes were proposed in this pull request?

This PR aims to support semanticHash and sameSemantics in DataFrame.

Why are the changes needed?

For feature parity.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Pass the CIs.

Was this patch authored or co-authored using generative AI tooling?

No.

let df1 = try await spark.range(1)
let df2 = try await spark.range(1)
#expect(try await df1.sameSemantics(other: df2))
#expect(try await df1.semanticHash() == df2.semanticHash())
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add not equal cases too?

@dongjoon-hyun
Copy link
Member Author

Thank you, @viirya . I addressed your comment by adding more test cases.

@dongjoon-hyun
Copy link
Member Author

Merged to main.

@dongjoon-hyun dongjoon-hyun deleted the SPARK-51912 branch April 25, 2025 06:55
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.

2 participants