BlazingDB / blazingsql

BlazingSQL is a lightweight, GPU accelerated, SQL engine for Python. Built on RAPIDS cuDF.
https://blazingsql.com
Apache License 2.0
1.92k stars 181 forks source link

Improve data loading when only a Limit and Project plans are presented #1515

Closed Christian8491 closed 3 years ago

Christian8491 commented 3 years ago

Describe the bug From a query like select col_a, col_b from table limit N we should apply the same logic as we currently have for this query select * from table limit N in order to just returns needed data and avoid OOM.

Expected behavior A query using only a Limit and a Projection plan should be optimized.

----For BlazingSQL Developers---- Suspected source of the issue