AdMub commented on issue #1300:
URL: 
https://github.com/apache/datafusion-python/issues/1300#issuecomment-3782636297

   I have investigated this issue. The crash happens because first_value (an 
aggregate function) is being called inside .select(), which is not supported by 
the physical planner.
   
   I confirmed that using .aggregate([], [F.first_value(...)]) works correctly.
   
   I would like to contribute a documentation fix to clarify that aggregate 
functions must be used within .aggregate() and not .select(). Can I be assigned?


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