alamb commented on issue #4904:
URL: 
https://github.com/apache/arrow-datafusion/issues/4904#issuecomment-1382862079

   > If I'm not mistaken we don't support the fourth frame type; 
   
   This is what I thought too at first -- and then I tried it. I believe they 
are referring to window functions like `RANGE 3 PRECEDING` which DataFusion 
does support 🤯  
   
   However, after more reading, I think they are  referring to something like 
an expression rather than constant in a `PRECEDING` clause which DataFusion 
does not support
   
   ```sql
   ❯ select column1, first_value(column1) OVER (ROWS column1/5 PRECEDING) from 
foo;
   Internal("Window frame bound cannot be BinaryOp { left: Identifier(Ident { 
value: \"column1\", quote_style: None }), op: Divide, right: 
Value(Number(\"5\", false)) }")
   ```


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

Reply via email to