zhengruifeng opened a new pull request, #57816: URL: https://github.com/apache/spark/pull/57816
### What changes were proposed in this pull request? This follow-up to #57806 gives the transient association-rules column in `FPGrowthModel.transform` a generated name instead of the fixed name `rules`. It also adds regression coverage for an input dataset that already contains a `rules` column. ### Why are the changes needed? The fixed temporary column can conflict with an input column of the same name after the join, causing ambiguous-column analysis failures or dropping the user's column. ### Does this PR introduce _any_ user-facing change? Yes. `FPGrowthModel.transform` now supports and preserves an input column named `rules`. ### How was this patch tested? - `build/sbt -java-home /usr/lib/jvm/java-17-openjdk-amd64 mllib/Test/compile` - Added `FPGrowthSuite` coverage for an input `rules` column. The focused suite has not been run locally yet. ### Was this patch authored or co-authored using generative AI tooling? Generated-by: Codex (GPT-5) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
