You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2019/08/19 04:14:37 UTC

[GitHub] [spark] dougbateman opened a new pull request #25489: [WIP] pyspark.sql.functions.col as C

dougbateman opened a new pull request #25489: [WIP] pyspark.sql.functions.col as C
URL: https://github.com/apache/spark/pull/25489
 
 
   # What changes were proposed in this pull request?
   This introduces a C.colName shorthand for col("colName") in pyspark.
   
   ### Why are the changes needed?
   Scala has a nice concise $"colName" function, but python is forced to use col("colName").  This PR introduces C.colName as a short-hand version for pyspark.
   
   ### Does this PR introduce any user-facing change?
   See above.
   
   ### How was this patch tested?
   Added pyspark.sql.tests.test_functions.FunctionsTests.test_col_functions

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org
For additional commands, e-mail: reviews-help@spark.apache.org