-
Notifications
You must be signed in to change notification settings - Fork 220
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executor: panic on always false filter #289
Comments
The panic's place changed. > select * from t where false
thread 'tokio-runtime-worker' panicked at 'index out of bounds: the len is 0 but the index is 0',
src/optimizer/plan_nodes/logical_projection.rs:66:25 Another issue 👇 this one is fixed in #561 > select count(*) from t where false
# What's this???
+-------+
| count |
+-------+
| 1 |
+-------+ |
I suspect it's caused by the optimizer:
The dummy executor should not return anything. However,
|
I think the dummy executor should return nothing, but it should have schema... we need give Dummy Plan Node a schema when constructing it and implement |
Another problem is that,
Projection is relying on Dummy executor to return a value... Maybe we should use |
We can create a new issue for dummy executor |
Resolved as we already have a schema for all plan nodes. |
The text was updated successfully, but these errors were encountered: