[
https://issues.apache.org/jira/browse/IOTDB-551?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Boris Zhu reassigned IOTDB-551:
-------------------------------
Assignee: Boris Zhu
> 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
> Assignee: Boris Zhu
> Priority: Major
> Labels: query, sql-definition
> 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)