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
genji> explain select*from foo where a >10AND a <100;
{
"plan": "table.Scan(\"foo\", [{\"min\": [10], \"exclusive\": true}]) | docs.Filter(a < 100)"
}
genji> explain select*from foo where a >10AND a <120OR a >4AND a <100;
{
"plan": "seqScan(foo) | filter(a > 10 AND a < 120 OR a > 4 AND a < 100)"
}
This should use ranges instead:
genji> explain select*from foo where a >10AND a <100;
{
"plan": "table.Scan(\"foo\", [{\"min\": [10], \"max\": [100], \"exclusive\": true}])"
}
genji> explain select*from foo where a >10AND a <100OR a >400AND a <1000;
{
"plan": "table.Scan(\"foo\", [{\"min\": [4], \"max\": [120], \"exclusive\": true}, {\"min\": [400], \"max\": [1000], \"exclusive\": true}])"
}
genji> explain select*from foo where a >10AND a <120OR a >4AND a <100;
{
"plan": "table.Scan(\"foo\", [{\"min\": [4], \"max\": [120], \"exclusive\": true}])"
}
The text was updated successfully, but these errors were encountered:
Given the following table:
This should use ranges instead:
The text was updated successfully, but these errors were encountered: