You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/05/07 08:11:32 UTC
[GitHub] [incubator-doris] wangshuo128 commented on pull request #9436: [Spark Load]fix min_value of GlobalDict will be negative number in spark load
wangshuo128 commented on PR #9436:
URL: https://github.com/apache/incubator-doris/pull/9436#issuecomment-1120162257
> @wangshuo128 Is there any window function like **row_num** return-type is **Long** in spark?
The data type of Spark builtin function `row_number` is `Integer`, please see
https://github.com/apache/spark/blob/2349f74866ae1b365b5e4e0ec8a58c4f7f06885c/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/windowExpressions.scala#L564
If you want to have a long type `row_number` function, you could implement a UDAF yourself.
--
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: commits-unsubscribe@doris.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org