blaginin commented on issue #27422:
URL: https://github.com/apache/datafusion/issues/27422#issuecomment-6880109741
Also came across something similar, in my case it even lost some data...
```sql
DataFusion CLI v57.0.0-dev
> SET datafusion.execution.target_partitions = 1;
CREATE TABLE t(g INT NOT NULL, ts INT NOT NULL)
AS VALUES (1, 1), (1, 2), (2, 3), (2, 4);
SELECT COUNT(*) OVER (
PARTITION BY g
ORDER BY ts
ROWS BETWEEN 1 PRECEDING AND CURRENT ROW
) AS c
FROM t
ORDER BY c ASC
LIMIT 2;
0 row(s) fetched.
Elapsed 0.013 seconds.
0 row(s) fetched.
Elapsed 0.020 seconds.
+----+
| c |
+----+
| 1 |
| 2 |
+----+
2 row(s) fetched.
Elapsed 0.013 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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]