Hi, does someone can help me to implement this function?
Best, ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Xiangdong Huang (Jira) <[email protected]> 于2020年2月2日周日 下午12:30写道: > Xiangdong Huang created IOTDB-448: > ------------------------------------- > > Summary: Support "IN" operator in the WHERE clause > Key: IOTDB-448 > URL: https://issues.apache.org/jira/browse/IOTDB-448 > Project: Apache IoTDB > Issue Type: New Feature > Components: Core/Engine, Planner/SQLParser > Reporter: Xiangdong Huang > > > Hi, > > while I am trying to upgrade an application's database from MySQL to > IoTDB, a new operator in the SELECT statment is needed: > > MySQL: > > SELECT * FROM STATION_TABLE WHERE observationTime = '2016-11-30 10:00:00' > AND pressure IN (100,1000,150,200,250,300,400,500,700,850,925); > > Using the SQL, if a station has data that pressure in such range, the > station's data will be returned. > > Therefore, we need an "IN" operator in the WHERE clause, like: > > SELECT * FROM root.station.* where time = 2016-11-30 10:00:00 and > pressure IN (100,1000,150,200,250,300,400,500,700,850,925) group by device; > > > > > > > > -- > This message was sent by Atlassian Jira > (v8.3.4#803005) >
