You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Thomas Rebele (Jira)" <ji...@apache.org> on 2022/03/23 15:05:00 UTC
[jira] [Created] (CALCITE-5061) Improve recursive application of the field trimming
Thomas Rebele created CALCITE-5061:
--------------------------------------
Summary: Improve recursive application of the field trimming
Key: CALCITE-5061
URL: https://issues.apache.org/jira/browse/CALCITE-5061
Project: Calcite
Issue Type: Improvement
Reporter: Thomas Rebele
Assignee: Thomas Rebele
Fix For: 1.31.0
The RelFieldTrimmer has some shortcomings:
* If the plan contains certain set ops (e.g., UNION(all=false)), even if the operator needs all fields for the correct result (CALCITE-3399), it may still make sense to apply the trimming to the children. See CALCITE-5051 for an example.
* Same applies for a Sort with dynamic parameters in the fetch/offset, and RepeatUnions
* The makeZeroLiteral logic in trimChildRestore(...) does not work for ARRAY / Java types.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)