Jefffrey commented on issue #5338:
URL: https://github.com/apache/datafusion/issues/5338#issuecomment-3420383455

   I'll rebrand this as a Spark function issue.
   
   Reference: 
https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.functions.size.html
   
   We want to support `size()` function on array + map types. Though we do have 
[`array_length`](https://github.com/apache/datafusion/blob/35b2e359f6703dedc6bf8ced3f0699d8a885d4df/datafusion/functions-nested/src/length.rs#L50-L72)
 already, this is meant for arrays so can be confusing to extend it to support 
maps.


-- 
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]

Reply via email to