Jimexist commented on a change in pull request #334: URL: https://github.com/apache/arrow-datafusion/pull/334#discussion_r635672736
########## File path: ballista/rust/core/proto/ballista.proto ########## @@ -151,6 +153,25 @@ message AggregateExprNode { LogicalExprNode expr = 2; } +enum BuiltInWindowFunction { + ROW_NUMBER = 0; + RANK = 1; + DENSE_RANK = 2; + LAG = 3; + LEAD = 4; + FIRST_VALUE = 5; + LAST_VALUE = 6; +} + +message WindowExprNode { + oneof window_function { + AggregateFunction aggr_function = 1; Review comment: yes in general three types of things can be used: 1. aggregation 2. UDAF 3. built in window function for both 1. and 2. they are not order sensitive, but for 3 we'll have to take sort into account -- 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: us...@infra.apache.org