taosdata / taos-connector-python

TDengine connector for Python
https://www.taosdata.com/cn/documentation/connector#python
MIT License
48 stars 14 forks source link

interp function executing failed by taospy #232

Closed zlqpzww closed 1 year ago

zlqpzww commented 1 year ago

hello there. I encounter a problem using taospy, the version is 2.7.12. As I execute the sql statement below, taospy raises a exception, with error message: taos.error.ProgrammingError: [0x0216]: syntax error near "range('2022-10-26T14:45:10','2023-10-26T14:4 the sql is something like: select interp(value) from some_super_table where tag_name = 'tag1' range('2022-10-26T14:45:10','2023-10-26T14:45:10') every(10m) fill(linear) group by tbname

But this sql statement executing succefully when using taos cli. Does it mean current version 2.7.12 can not recognize those sql statements.

zlqpzww commented 1 year ago

after downgrade taos-client to 2.6.0.6, it works. it was taos-client's problem, not taospy. so close current issue.