zero323 commented on pull request #25193:
URL: https://github.com/apache/spark/pull/25193#issuecomment-618712930


   @nucflash  In general `count` should return `long` as size of the result can 
potentially exceed integer precision.  
   
   From the other hand `array_repeat` cannot, in any practical way, exceed size 
of the `integer`, so allowing for long would be misleading at best, and so 
would be automatic downcasting. 


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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to