Skip to content

Conversation

@sryza
Copy link
Contributor

@sryza sryza commented Nov 17, 2025

What changes were proposed in this pull request?

Followups from #53070 to improve code clarity.

Why are the changes needed?

Make sure the code for constructing SDP checkpoint directory paths is clear.

Does this PR introduce any user-facing change?

No

How was this patch tested?

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

@github-actions github-actions bot added the SQL label Nov 17, 2025
@dongjoon-hyun dongjoon-hyun changed the title [SPARK-54358][SDP] Code clarity followups [SPARK-54358][SDP][FOLLOWUP] Code clarity followups Nov 17, 2025
/**
* Converts a TableIdentifier to a path string by joining its name parts with the path separator.
*/
private def tableIdentifierToPathString(tableIdentifier: TableIdentifier): String = {
Copy link
Member

Choose a reason for hiding this comment

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

Please fix the corresponding test case to use this method too.

val tableId = t.identifier.nameParts.mkString(Path.SEPARATOR)

@dongjoon-hyun
Copy link
Member

dongjoon-hyun commented Nov 17, 2025

FYI, @sryza . For the follow-up PRs, the Apache Spark community uses [FOLLOWUP] in the title instead of saying like Code clarity followups. I added it for you.

As a result, you had better revise the remaining PR title, Code clarity followups, more specifically.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants