You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@iotdb.apache.org by "Tian Jiang (Jira)" <ji...@apache.org> on 2020/03/10 08:53:00 UTC

[jira] [Created] (IOTDB-551) Prefix in predicates

Tian Jiang created IOTDB-551:
--------------------------------

             Summary: Prefix in predicates
                 Key: IOTDB-551
                 URL: https://issues.apache.org/jira/browse/IOTDB-551
             Project: Apache IoTDB
          Issue Type: Bug
          Components: Planner/SQLParser
    Affects Versions: master branch
            Reporter: Tian Jiang
         Attachments: image-2020-03-10-16-45-36-508.png, image-2020-03-10-16-51-36-084.png

When I looked into the SQL definitions (the antlr file), I found that prefixes are allowed in predicates. 
 !image-2020-03-10-16-45-36-508.png|thumbnail! 
It is weird because I think it would be difficult to define "WHERE root.group1.device1 > 100". And when I tried to query with such a predicate, I got a "no such timeseries".
 !image-2020-03-10-16-51-36-084.png|thumbnail! 
So this grammar had better be corrected.



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