Skip to content

[SPARK-55690][SQL][Follow-up] Fix dead references#54930

Closed
szehon-ho wants to merge 1 commit intoapache:masterfrom
szehon-ho:SPARK-55690-fix-dead-refs
Closed

[SPARK-55690][SQL][Follow-up] Fix dead references#54930
szehon-ho wants to merge 1 commit intoapache:masterfrom
szehon-ho:SPARK-55690-fix-dead-refs

Conversation

@szehon-ho
Copy link
Copy Markdown
Member

@szehon-ho szehon-ho commented Mar 20, 2026

What changes were proposed in this pull request?

Follow-up cleanup after merge / V2 write schema evolution refactors:

  • Remove unused DataTypeUtils.extractAllFieldPaths and extractLeafFieldPaths (no call sites).
  • Update Analyzer comments that still referred to the removed rule name ResolveMergeIntoTableSchemaEvolution; the rule is now ResolveSchemaEvolution.
  • Clarify the MergeIntoTable.schemaEvolutionReady comment: isSchemaEvolutionCandidate lives on the companion object and is private.

Why are the changes needed?

Avoid misleading references to deleted APIs and dead utility code.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Existing tests; change is comment + unused API removal only.

- Remove unused DataTypeUtils.extractAllFieldPaths and extractLeafFieldPaths
- Update Analyzer comments to reference ResolveSchemaEvolution (replaces removed rule name)
- Clarify MergeIntoTable schemaEvolutionReady comment for private companion helper
@szehon-ho
Copy link
Copy Markdown
Member Author

cc @johanl-db @cloud-fan can you help review?

@dongjoon-hyun
Copy link
Copy Markdown
Member

Merged to master. Thank you, @szehon-ho and all.

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