You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Stamatis Zampetakis (Jira)" <ji...@apache.org> on 2024/09/10 17:34:00 UTC
[jira] [Created] (CALCITE-6571) Impossible to create/extend RelOptRule without using deprecated APIs
Stamatis Zampetakis created CALCITE-6571:
--------------------------------------------
Summary: Impossible to create/extend RelOptRule without using deprecated APIs
Key: CALCITE-6571
URL: https://issues.apache.org/jira/browse/CALCITE-6571
Project: Calcite
Issue Type: Bug
Affects Versions: 1.37.0
Reporter: Stamatis Zampetakis
The {{RelOptRule}} class is not deprecated but all the static factories that create operands were deprecated as part of CALCITE-3923.
The deprecation link instructs the user to use {{RelRule.OperandBuilder}} but the latter is an interface and its concrete implementations is private and inaccessible outside the {{RelRule}} class.
In a nutshell, any rule that extends directly from {{RelOptRule}} is forced to use deprecated APIs.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)