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