jayzhan211 commented on PR #12002:
URL: https://github.com/apache/datafusion/pull/12002#issuecomment-2290817131
@getChan I think what we need is to support string type but not modifying
the test to other already supported type
```
D create table date_table(start date, stop date, step interval);
D insert into date_table values (DATE '1992-01-01', DATE '1993-01-02',
INTERVAL '1' MONTH);
D select generate_series(start, '1993-03-01', INTERVAL '1 year') from
date_table;
┌────────────────────────────────────────────────────────────────────┐
│ generate_series("start", '1993-03-01', CAST('1 year' AS INTERVAL)) │
│ timestamp[] │
├────────────────────────────────────────────────────────────────────┤
│ [1992-01-01 00:00:00, 1993-01-01 00:00:00] │
└────────────────────────────────────────────────────────────────────┘
```
We should able to return the same result as Duckdb's
--
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]