alamb commented on issue #6747:
URL: https://github.com/apache/datafusion/issues/6747#issuecomment-2090266602

   🤔  it seems like spark's API is like 
   
   > count("dt").over(w).alias("count")).show()
   
   
https://stackoverflow.com/questions/32769328/how-to-use-window-functions-in-pyspark-using-dataframes
   
   So maybe for DataFusion it could look like
   
   ```rust
      let w = Window::new()
        .partition_by(col("id"))
        .order_by(col("dt"));
   
       let lag_expr = lag(col("array_col"))
          .over(w)
   ```
   
   
   


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

Reply via email to