time_bucket
function calculates buckets for all rows even when LIMIT is applied
#86
Closed
2 tasks done
Labels
What happens?
#32 closed #52.
However, when applying a limit to a query with time_bucket, the bucket is still calculated for all rows in the table
e.g.
select time_bucket('5m', trips.tpep_pickup_datetime) from trips limit 10;
touches all rows not just the first 10using a subquery seems to work fine as a workaround
select time_bucket('5m', t.tpep_pickup_datetime) from (select * from trips limit 10) t;
but we want limit to work properly and get pushed down to duckdbTo Reproduce
More info here - #32 (comment)
OS:
all versions
ParadeDB Version:
latest
Are you using ParadeDB Docker, Helm, or the extension(s) standalone?
ParadeDB Docker Image
Full Name:
Vipul Vaibhaw
Affiliation:
ParadeDB
Did you include all relevant data sets for reproducing the issue?
Yes
Did you include the code required to reproduce the issue?
Did you include all relevant configurations (e.g., CPU architecture, PostgreSQL version, Linux distribution) to reproduce the issue?
The text was updated successfully, but these errors were encountered: