You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Xin Chen (Jira)" <ji...@apache.org> on 2023/05/30 10:22:00 UTC

[jira] [Updated] (CALCITE-5733) simplify should also simplify for array type

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

Xin Chen updated CALCITE-5733:
------------------------------
    Description: 
Simplification seem to not take into account that the specified field is of array type. In other words,it can simplify "a = 1 AND a = 2" to "false",but can not simplify “a = [1,2] AND a = [2,3]” to "false". Obviously, was there no consideration given to the field type being an array?I found this issue while debugging the Flink SQL task.
Link to 
https://issues.apache.org/jira/browse/FLINK-32188.
https://issues.apache.org/jira/browse/CALCITE-4364

  was:
Simplification seem to not take into account that the specified field is of array type. In other words,it can simplify "a = 1 AND a = 2" to "false",but can not simplify “a = [1,2] AND a = [2,3]” to "false". Obviously, was there no consideration given to the field type being an array?I found this issue while debugging the Flink SQL task.
Link to https://issues.apache.org/jira/browse/FLINK-32188.


> simplify should also simplify for array type
> --------------------------------------------
>
>                 Key: CALCITE-5733
>                 URL: https://issues.apache.org/jira/browse/CALCITE-5733
>             Project: Calcite
>          Issue Type: Bug
>    Affects Versions: 1.26.0, 1.34.0
>            Reporter: Xin Chen
>            Priority: Major
>
> Simplification seem to not take into account that the specified field is of array type. In other words,it can simplify "a = 1 AND a = 2" to "false",but can not simplify “a = [1,2] AND a = [2,3]” to "false". Obviously, was there no consideration given to the field type being an array?I found this issue while debugging the Flink SQL task.
> Link to 
> https://issues.apache.org/jira/browse/FLINK-32188.
> https://issues.apache.org/jira/browse/CALCITE-4364



--
This message was sent by Atlassian Jira
(v8.20.10#820010)