[v0.12.2] Error when trying to create continuous query
- Vorherrschende Sprache
- Java
- Sterne
- 6.4k
- Forks
- 1.2k
- Ø Merge
- 1 T. 23 Std.
- Gemergte PRs (30 T.)
- 115
Beschreibung
**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
Beitragsleitfaden
Rechercherichtung
Beginne damit, die verlinkte Dokumentation zu continuous-query zu prüfen und das exakte CREATE CONTINUOUS QUERY-Beispiel mit IoTDB 0.12.2 zu reproduzieren. Ermittle, ob die dokumentierte Abfrage in der gemeldeten Version unterstützt wird; abgeschlossen ist die Aufgabe, wenn das Beispiel keinen Parserfehler mehr erzeugt oder die unterstützte Syntax und Version eindeutig angegeben sind.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, sql
- Bereich
- databases
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100