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 2020/08/10 02:16:35 UTC

[GitHub] [spark] HyukjinKwon commented on pull request #28754: [SPARK-10520][SQL] Allow average out of DateType

HyukjinKwon commented on pull request #28754:
URL: https://github.com/apache/spark/pull/28754#issuecomment-671135969


   BTW, looks like most of DBMSes don't allow this. I checked quickly and seems ANSI doesn't allow this as well:
   > If AVG is specified and DT is exact numeric, then the declared type of the result is an implementation-defined exact numeric type with precision not less than the precision of DT and scale not less than the scale of DT.


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



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