You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I expect it to be compatible with the PostgreSQL function, besides it should also be more efficient to generate columnar data than having to unnest it.
Additional context
No response
The text was updated successfully, but these errors were encountered:
I think it's also easy to use: we can operate both array and table column with generate_series()
Additionally, it would be great to let the table function only use constant memory. For example, if select * from genereate_series(1, 1000000000) it should generate data batch by batch, instead of materializing everything in TableScan node, then start output.
This way this function can be very useful in many cases like micro benchmarks and tests.
@2010YOUY01 Yeah I agree with this, I was working on this a bit and the current generate_series logic + output seems to follow through well with the other UDFs.
Describe the bug
generate_series
generates a list:However PostgreSQL generates rows:
To Reproduce
No response
Expected behavior
I expect it to be compatible with the PostgreSQL function, besides it should also be more efficient to generate columnar data than having to unnest it.
Additional context
No response
The text was updated successfully, but these errors were encountered: