mustafasrepo opened a new issue, #6125:
URL: https://github.com/apache/arrow-datafusion/issues/6125

   ### Is your feature request related to a problem or challenge?
   
   Currently we do not support named window frames. The query below can run 
successfully,
   ```sql
   SELECT SUM(inc_col) OVER(ORDER BY ts) as sum1
      FROM annotated_data
      ORDER BY inc_col
      LIMIT 5;
   ```
   However, equivalent query below with named window frame cannot be run.
   ```sql
   SELECT SUM(inc_col) OVER running_window
    FROM annotated_data
    WINDOW running_window AS (ORDER BY ts)
    ORDER BY inc_col
    LIMIT 5
   ```
   Postgres supports both versions.
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


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