nuno-faria commented on PR #19362:
URL: https://github.com/apache/datafusion/pull/19362#issuecomment-3672616362
@adriangb thanks for the review.
> Could you add some e2e (slt) tests showing this working? I guess it would
involve a recursive CTE and `generate_series()`?
I added a sqllogictest with the `generate_series`. In the previous version
it returns an invalid result:
```sql
> WITH RECURSIVE t AS (
SELECT 1 i
UNION ALL
SELECT g.i
FROM generate_series(1, 1) g(i), t
)
SELECT *
FROM t
LIMIT 10;
+---+
| i |
+---+
| 1 |
| 1 |
+---+
2 row(s) fetched. -- should be 10 rows
```
--
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]