cnosdb / cnosdb/cnosdb-client-python
[Bug] Table creation failed via cursor.execute func
Abierto
- Lenguaje dominante
- Python
- Estrellas
- 2
- Forks
- 1
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
An error occurred when I want to create a table via `cursor.execute` function.
You can reproduce as below:
```python
conn.create_database("tf_demo")
conn.switch_database("tf_demo")
print(conn.list_database())
cursor.execute(f"CREATE TABLE [IF NOT EXISTS] sunspot (date STRING, mssn DOUBLE,);")
```
```shell
ERROR:root:Invalid syntax or Object not exists, get ERROR from database : HTTP Error 422: Unprocessable Entity
[{'Database': 'public'}, {'Database': 'tf_demo'}]
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.