apache / apache/iotdb

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

Aperta
#4,325 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
6.4k
Fork
1.2k
Merge medio
1g 23h
PR unite (30g)
115

Descrizione

**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

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia controllando la documentazione collegata su continuous-query e riproducendo l’esempio esatto di CREATE CONTINUOUS QUERY con IoTDB 0.12.2. Determina se la query documentata è supportata nella versione segnalata; il lavoro è completato quando l’esempio non produce più l’errore del parser oppure quando la sintassi e la versione supportate sono chiaramente identificate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
java, sql
Ambito
databases
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.