You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Boris Zhu (Jira)" <ji...@apache.org> on 2020/10/26 01:15:00 UTC

[jira] [Assigned] (IOTDB-889) Fix key word `EQUAL_NS` in `SQLConstant` error

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

Boris Zhu reassigned IOTDB-889:
-------------------------------

    Assignee: Boris Zhu

> Fix key word `EQUAL_NS` in `SQLConstant` error 
> -----------------------------------------------
>
>                 Key: IOTDB-889
>                 URL: https://issues.apache.org/jira/browse/IOTDB-889
>             Project: Apache IoTDB
>          Issue Type: Bug
>            Reporter: yuqi
>            Assignee: Boris Zhu
>            Priority: Minor
>
>   
> In class `org.apache.iotdb.db.qp.constant.SQLConstant`
>   {code:java}
>   public static final int NOTEQUAL = SqlBaseLexer.OPERATOR_NEQ;
>   public static final int EQUAL_NS = SqlBaseLexer.OPERATOR_NEQ;
>   ...
>   tokenSymbol.put(NOTEQUAL, "<>");
>   tokenSymbol.put(EQUAL_NS, "<=>");
>    
>   ...
>   tokenNames.put(NOTEQUAL, "not_equal");
>   tokenNames.put(EQUAL_NS, "equal_ns");
> {code}
> As `NOTEQUAL` equals  `EQUAL_NS`, When adding two entry with the same key, the latter will overlap the former one 



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