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

   For anyone following this, a window frame query looks like this (the `ROWS 
BETWEEN 2 PRECEDING AND 0 FOLLOWING`)
   
   ```sql
   SELECT water_level, avg(water_level) OVER (ORDER BY time desc ROWS BETWEEN 2 
PRECEDING AND 0 FOLLOWING)
   FROM
     "h2o_feet"
   WHERE
     time >= cast ('2019-09-17T20:00:00Z' as timestamp) AND
     time <= cast ('2019-09-17T21:42:00Z' as timestamp);
   ```
   
   Which results in an error
   ```
   This feature is not implemented: window expression with window frame 
definition is not yet supported
   ```
   


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