zhengruifeng commented on issue #28202: [SPARK-31433][ML] Summarizer supports string arguments URL: https://github.com/apache/spark/pull/28202#issuecomment-613325377 Oh, I fogot the python side. I usually use `"foo"` instead of `$"foo"`, since most sql functions support both, for example in `functions.scala`: ``` /** * Aggregate function: returns the maximum value of the column in a group. * * @group agg_funcs * @since 1.3.0 */ def max(columnName: String): Column = max(Column(columnName)) ``` I tried to add this just for my perference, it maybe a little convenient, but I do not feel strongly about it.
---------------------------------------------------------------- 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: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
