Skip to content

[CALCITE-2899] Deprecate RelTraitPropagationVisitor and remove its usages#1092

Merged
michaelmior merged 1 commit intoapache:masterfrom
zabetak:calcite-2899
Mar 7, 2019
Merged

[CALCITE-2899] Deprecate RelTraitPropagationVisitor and remove its usages#1092
michaelmior merged 1 commit intoapache:masterfrom
zabetak:calcite-2899

Conversation

@zabetak
Copy link
Copy Markdown
Member

@zabetak zabetak commented Mar 6, 2019

The class is deprecated for the following reasons:

  1. The contract and behavior of RelTraitPropagationVisitor are not consistent.
  2. It traverses RelNode subtrees after every rule transformation affecting performance.
  3. It exists only for debugging purposes and we have no proof that helps discover issues.
  4. It not modified for the past five years.
  5. It is unlikely to be used in the future.

…ages

The class is deprecated for the following reasons:
1. The contract and behavior of RelTraitPropagationVisitor are not consistent.
2. It traverses RelNode subtrees after every rule transformation affecting performance.
3. It exists only for debugging purposes and we have no proof that helps discover issues.
4. It not modified for the past five years.
5. It is unlikely to be used in the future.
@hsyuan
Copy link
Copy Markdown
Member

hsyuan commented Mar 7, 2019

looks good.

@michaelmior michaelmior merged commit 50012d2 into apache:master Mar 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants