You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/03/15 14:09:39 UTC
[GitHub] [arrow-datafusion] jackwener opened a new issue #2016: Merge the adjacent filter
jackwener opened a new issue #2016:
URL: https://github.com/apache/arrow-datafusion/issues/2016
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
```sql
explain select c1, c2 from test where c3 = true and c2 = 0.000001;
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| plan_type | plan |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
| logical_plan | Projection: #test.c1, #test.c2 |
| | Filter: #test.c3 |
| | Filter: #test.c2 = Float64(0.000001) |
| | TableScan: test projection=Some([0, 1, 2]), filters=[#test.c3, #test.c2 = Float64(0.000001)] |
| physical_plan | ProjectionExec: expr=[c1@0 as c1, c2@1 as c2] |
| | CoalesceBatchesExec: target_batch_size=4096 |
| | FilterExec: c3@2 |
| | CoalesceBatchesExec: target_batch_size=4096 |
| | FilterExec: c2@1 = 0.000001 |
| | RepartitionExec: partitioning=RoundRobinBatch(8) |
| | CsvExec: files=[/home/jakevin/code/arrow-datafusion/datafusion/tests/aggregate_simple.csv], has_header=true, limit=None |
| | |
+---------------+-------------------------------------------------------------------------------------------------------------------------------------+
```
**Describe the solution you'd like**
add `merge` rule to combine the filter.
**Describe alternatives you've considered**
**Additional context**
Some discussion detail in #2015
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] xudong963 commented on issue #2016: Merge the adjacent filter
Posted by GitBox <gi...@apache.org>.
xudong963 commented on issue #2016:
URL: https://github.com/apache/arrow-datafusion/issues/2016#issuecomment-1068038691
Is there any practical experience that proves this is profitable, or are there any databases that have done it?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] xudong963 closed issue #2016: Merge the adjacent filter
Posted by GitBox <gi...@apache.org>.
xudong963 closed issue #2016:
URL: https://github.com/apache/arrow-datafusion/issues/2016
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [arrow-datafusion] jackwener commented on issue #2016: Merge the adjacent filter
Posted by GitBox <gi...@apache.org>.
jackwener commented on issue #2016:
URL: https://github.com/apache/arrow-datafusion/issues/2016#issuecomment-1068033875
I'm trying to do it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org