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
There is a bug in calculating filter statistics that results in an internal error
To Reproduce
Reproducer
createtablecpu (timetimestamp, usage_idle float, usage_user float, cpu int);
insert into cpu values ('1970-01-01 00:00:00', 1.0, 2.0, 3);
copy (select*from cpu) to '/tmp/foo.parquet';
selecttime, rn
from (
selecttime, row_number() OVER (ORDER BY usage_idle, time) as rn
from'/tmp/foo.parquet'where cpu =3
) where rn >0;
Results in
ProjectionPushdown
caused by
Internal error: Only intervals with the same data type are comparable, lhs:Float32, rhs:UInt64.
This was likely caused by a bug in DataFusion's code and we would welcome that you file an bug report in our issue tracker
Describe the bug
There is a bug in calculating filter statistics that results in an internal error
To Reproduce
Reproducer
Results in
Expected behavior
I expect it to produce a row:
Additional context
We found a bug with some of our internal tests in InfluxDB 3.0
I believe this is a regression introduced by 4659096 / #12281 which added a projection to
FilterExec
However, as the projection is not applied to the statistics, the reported output schema and statistics are inconsistent which causes issues upstream.
The text was updated successfully, but these errors were encountered: