You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kirill Kozlov (Jira)" <ji...@apache.org> on 2019/11/20 21:29:00 UTC
[jira] [Created] (BEAM-8794) Projects should be handled by an
IOPushDownRule before applying AggregateProjectMergeRule
Kirill Kozlov created BEAM-8794:
-----------------------------------
Summary: Projects should be handled by an IOPushDownRule before applying AggregateProjectMergeRule
Key: BEAM-8794
URL: https://issues.apache.org/jira/browse/BEAM-8794
Project: Beam
Issue Type: Improvement
Components: dsl-sql
Reporter: Kirill Kozlov
Assignee: Kirill Kozlov
It is more efficient to push-down projected fields at an IO level (vs merging with an Aggregate), when supported.
When running queries like:
{code:java}
select SUM(score) as total_score from <TABLE> group by name{code}
Projects get merged with an aggregate, as a result Calc (after an IOSourceRel) projects all fields and BeamIOPushDown rule does know what fields can be dropped, thus not dropping any.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)