You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Haisheng Yuan (Jira)" <ji...@apache.org> on 2020/06/10 15:27:00 UTC

[jira] [Resolved] (CALCITE-4002) Add security check to make sure TransformationRule doesn't generate PhysicalNode

     [ https://issues.apache.org/jira/browse/CALCITE-4002?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Haisheng Yuan resolved CALCITE-4002.
------------------------------------
    Fix Version/s: 1.24.0
       Resolution: Fixed

Fixed in https://github.com/apache/calcite/commit/0c8d0fe2c4b9affdd247ec1f376231e7b961a912.

> Add security check to make sure TransformationRule doesn't generate PhysicalNode
> --------------------------------------------------------------------------------
>
>                 Key: CALCITE-4002
>                 URL: https://issues.apache.org/jira/browse/CALCITE-4002
>             Project: Calcite
>          Issue Type: Improvement
>          Components: core
>            Reporter: Haisheng Yuan
>            Priority: Major
>             Fix For: 1.24.0
>
>
> Right now, it is not allowed to generate {{PhysicalNode}} in logical {{TransformationRule}}, but it is just a contract, not being enforced. Add a security check to make sure we throw if a {{PhysicalNode}} is generated in {{VolcanoPlanner}}.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)