srielau commented on PR #43011:
URL: https://github.com/apache/spark/pull/43011#issuecomment-1730804920

   > > What is the purpose of "lambda function"? All others are type-specific 
or "functionality"-specific. But lambda is "technology".
   > 
   > lambda functions were already exposed to end users (e.g. 
https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.array_sort.html#pyspark.sql.functions.array_sort).
   > 
   > I think if we document other functions here, it is better to add lambda 
functions as well.
   > 
   > > What is the user journey that would drive one to browse lambda functions?
   > 
   > I think this could be an example: when a user try to sort array of structs 
by a specific order, he may refer to the document of `array_sort`
   
   If I try to find a function that sorts arrays I will try to find that 
function under collection functions.
   Just like substr() is not a math function, even though most of its arguments 
are integers. Substr operates on strings...
   array_sort operates on arrays.
   
   


-- 
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: reviews-unsubscr...@spark.apache.org

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

Reply via email to