[v0.12.2] Error when trying to create continuous query
- 主要语言
- Java
- 星标
- 6.4k
- 派生
- 1.2k
- 平均合并
- 1 天 23 小时
- 30 天内合并 PR
- 115
描述
**Describe the bug**
Today I wanted to create a continuous query, so I gave it a run. Already when running the first query I got from the documentation I got an error - and whatever I wrote, I got the same error:
```
Msg: 401: Error occurred while parsing SQL to physical plan: line 1:7 no viable alternative at input 'CREATE CONTINUOUS'
```
**To Reproduce**
Steps to reproduce the behavior:
1. Open a client to the iot-db
2. Run a query like `CREATE CONTINUOUS QUERY test BEGIN SELECT foo INTO test FROM root GROUP BY time(10s) END`
4. See error
**Expected behavior**
Create a continuous query of some kind ...
**Desktop (please complete the following information):**
- OS: Linux
- Browser n/a
- Version 0.12.2
**Additional context**
Here's a link to the documentation: https://iotdb.apache.org/UserGuide/Master/Advanced-Features/Continuous-Query.html
贡献指南
调研方向
首先检查链接的 continuous-query 文档,并针对 IoTDB 0.12.2 重现准确的 CREATE CONTINUOUS QUERY 示例。确定该文档中的查询是否受报告版本支持;完成标准是该示例不再产生解析器错误,或者明确确定受支持的语法和版本。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java, sql
- 领域
- databases
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 35/100