cnosdb / cnosdb/cnosdb-client-python
[Bug] Table creation failed via cursor.execute func
Open
- Dominant language
- Python
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
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'}]
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.