You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@calcite.apache.org by "Zhen Chen (Jira)" <ji...@apache.org> on 2025/10/13 13:08:00 UTC
[jira] [Created] (CALCITE-7224) Refactor Function Property System to Use a Unified Flag Field
Zhen Chen created CALCITE-7224:
----------------------------------
Summary: Refactor Function Property System to Use a Unified Flag Field
Key: CALCITE-7224
URL: https://issues.apache.org/jira/browse/CALCITE-7224
Project: Calcite
Issue Type: Improvement
Components: core
Affects Versions: 1.40.0
Reporter: Zhen Chen
Currently, SqlOperatorand its related classes use individual boolean fields (e.g., isDeterministic, isDynamic, maybe isIdempotent) to represent various function properties. This approach has several drawbacks as the number of properties grows:
* Maintenance Overhead: Adding a new property requires adding a new method and field across multiple classes.
* API Bloat: The interface becomes cluttered with numerous getter methods.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)