TDengine is an open-sourced big data platform under GNU AGPL v3.0, designed and optimized for the Internet of Things (IoT), Connected Cars, Industrial IoT, and IT Infrastructure and Application Monitoring.
Questions tagged [tdengine]
345 questions
2
votes
0 answers
when I use TDengine client ,select * from stbname order by ts desc limit 10
When I use TDengine client, select * from stbname order by ts desc limit 10, but in TDengine server side, it is not. Why?

Yu Chen
- 70
- 1
- 5
2
votes
1 answer
Why TDengine Failed to insert data since Invalid table ID
I did some operations to change a datadir to another one.
stop TDengine
change datadir configuration in taos.cfg
copy datafile from old datadir to the new path.
restart TDengine
I did create this table before but I can't query it now
May I know…

Yu Chen
- 70
- 1
- 5
2
votes
1 answer
TDengine's java native interface TSDBDriver connection error
I tried to import TDengine into the Spring Boot project. There are two taos.jdbc connectors to choose from, RESTfulDriver and TSDBDriver.
I chose to import the Java native interface TSDBDriver to connect to TDengine. Unfortunately, Spring Boot…

cpvmrd
- 51
- 4
2
votes
1 answer
expired data cannot be deleted automatically in TDengine
Based on the official documentation from TDengine website:
KEEP is how long the data of the database is kept, the default is 3650 days (10 years), and the database will automatically delete the data expired;
I created a database using following…

Alex
- 109
- 6
1
vote
1 answer
null sometimes showed while use TDentine3.0.2.0 with "partition by ** fill(vaelue,0) "
actually,there was no null in my data.
show the correct data

hshow
- 11
- 2
1
vote
1 answer
Got wrong result when using `taosRestful` to access TDengine
I'm using Go connector taosRestful to access TDengine. I want to check databases and tables, so I execute :
db.Exec("show databases")
But I got an error "wrong result".
Can't taosRestful execute this statement? Or is there another way to write…

North South
- 11
- 1
1
vote
1 answer
TDengine's golang example code does not work
I get errors when running the TDengine's golang example code.
go code:
// drop database if exists
sqlStr := "drop database if exists " + dbName
_, err = db.Exec(sqlStr)
checkErr(err, sqlStr)
I forgot to record the error, I only remember it shows…

hook capt
- 135
- 5
1
vote
1 answer
insert test data into TDengine server but it return [0x15] err
I wrote a piece of go code to connect TDengine server from Windows as below:
var taosuri = "root:taosdata/tcp(10.233.65.65:6030)/"
s, err := sql.Open("taosSql", taosuri)
if err != nil {
fmt.Errorf("failed to connect TDengine, err:%v", err)
return…

hook capt
- 135
- 5
1
vote
1 answer
Jenkins reports "node low disk space", when will it sync the state of nodes?
Jenkins reports "node low disk space", when will it sync the state of nodes?
Even if I released the space on the node, it still reported "node low disk space", and the node was offline.
How to solve this problem?
Thanks.

tangfangzhi
- 51
- 2
1
vote
2 answers
Can ctest use relative path to run test?
Can ctest use relative path to run test?
There is no problem to run ctest after cmake. But if I copy the whole folder to somewhere else, ctest cannot run properly. It is using absolute path and cannot find the binary.

tangfangzhi
- 51
- 2
1
vote
2 answers
how to display long binary or nchar value in TDengine taos shell
In TDengine taos shell, if the length of a binary/nchar type is more than 60, it will be cut, how to make it fully displayed?

Alex
- 109
- 6
1
vote
4 answers
Does TDengine network communication use TCP or UDP? Or both?
Does TDengine's network communication use TCP or UDP? Or both? Can I configure it by myself? If I can, which item should I configure in the config filev(taos.cfg)?

bruce
- 11
- 2
1
vote
0 answers
TDengine async API does not work with Python on Windows
Here is simple async API use case I've tested.
TDengine use callback for async query:
import time
from ctypes import *
from taos import *
class Counter(Structure):
_fields_ = [("count", c_int), ("done", c_bool)]
def __str__(self):
…

zitsen
- 339
- 2
- 10
1
vote
1 answer
how to create an a new user or role in tedenigne?
While I’m using tdengine,I want to create different users to access different tables.After I installed the tdengine I know there is a default user root. But if want to make access control to different tables. How can do this? Does tdengine support…

Ray Shown
- 33
- 6
1
vote
2 answers
Does TDengine support automatic table/stable creation?
Does TDengine support auto table creation mechanism? For example, I don't want to create table beforehand but data records could be inserted just using the INSERT SQL clause? If so, what are the restriction for this mechanism?

GeorgeWill93
- 167
- 5