eltonchaw7
eltonchaw7
######## The code ######## class TDHelper(object): @staticmethod def connection(): ''' Warning: must close connection manually :return: ''' return taos.connect(host=settings.TDENGINE_CONFIG['HOST'], user=settings.TDENGINE_CONFIG['USER'], password=settings.TDENGINE_CONFIG['PASSWORD'], port=settings.TDENGINE_CONFIG['PORT'], database=settings.TDENGINE_CONFIG['NAME']) @staticmethod def select(sql): conn = TDHelper.connection() try:...

我在命令行客户端里执行以下操作: 删除一个超级表>重新创建超级表>往子表写入数据,报错DB error : not active session,然后重新进入,写入成功。 但是在python客户端: 删除一个超级表>重新创建超级表>往子表写入数据,报错DB error : not active session,然后重新建立连接,还是会报DB error : not active session 错误。
08/27 21:39:19.552671 0x7fab7fe1d0 TDB ERROR vgId:3 table stock_600261 tid 219 uid 3298549235957 timestamp is out of range! now 1598535559552 minKey 1283175559552 maxKey 1598708359552 08/27 21:39:19.573512 0x7fab7fe1d0 TDB ERROR vgId:3 table...
$ taos -h 127.0.0.1 -p 46030 -u root taos: Too many arguments Try `taos --help' or `taos --usage' for more information.