zhengruifeng opened a new pull request #29868: URL: https://github.com/apache/spark/pull/29868
### What changes were proposed in this pull request? 1, remove the comment: `Note, the relevant columns must also be set in inputCols`; 2, add a check, and if there are `categoricalCols` not set in `inputCols`, log.warn it; ### Why are the changes needed? 1, there is no check to make sure `categoricalCols` are all set in `inputCols`, to keep existing behavior, remove this comments; ### Does this PR introduce _any_ user-facing change? No ### How was this patch tested? repl ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org