HaoYang670 commented on issue #4297:
URL: 
https://github.com/apache/arrow-datafusion/issues/4297#issuecomment-1321580100

   Hi @ZuoTiJia, I tried on my desktop but it didn't panic.
   ```sql
   DataFusion CLI v14.0.0
   ❯ CREATE TABLE t1 AS VALUES('A', '1'), ('A', '2'), ('A', '3'), ('B', '1'), 
('B', '2'), ('B', '3');
   0 rows in set. Query took 0.002 seconds.
   ❯ SELECT column1, column2, LAST_VALUE(column2) OVER (PARTITION BY column1 
ORDER BY column2) FROM t1;
   +---------+---------+------------------------+
   | column1 | column2 | LAST_VALUE(t1.column2) |
   +---------+---------+------------------------+
   | A       | 1       | 1                      |
   | A       | 2       | 2                      |
   | A       | 3       | 3                      |
   | B       | 1       | 1                      |
   | B       | 2       | 2                      |
   | B       | 3       | 3                      |
   +---------+---------+------------------------+
   6 rows in set. Query took 0.011 seconds.
   ```


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