apache / apache/iotdb

[v0.12.2] Error when trying to create continuous query

オープン
#4,325 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
6.4k
フォーク
1.2k
平均マージ
1日 23時間
マージ済み PR(30日)
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 の例を再現します。報告されたバージョンでそのドキュメント化されたクエリがサポートされているかを判断します;完了の条件は、その例で parser error が発生しなくなるか、サポートされる構文とバージョンが明確に特定されることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
java, sql
領域
databases
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。