Comments (3)
String sql = "select ts,`value`,order_num,frequency from dqms.measure_vibrate_original where ts>= 1713518404000 and ts <= 1713518406000 and equipment_code='Y1CRF001PO' and measure_code='MBND_1_P_800L_1K' order by ts";
HikariDataSource dataSource = new HikariDataSource();
dataSource.setPassword("taosdata");
dataSource.setUsername("root");
dataSource.setJdbcUrl("jdbc:TAOS-RS://192.168.135.52:6041/dqms?user=root&password=taosdata");
dataSource.setMaximumPoolSize(10);
dataSource.setDriverClassName("com.taosdata.jdbc.rs.RestfulDriver");
try (Connection connection = dataSource.getConnection()) {
ResultSet resultSet = connection.createStatement().executeQuery(sql);
while (resultSet.next()) {
String string = resultSet.getString("value");
System.out.println(StringUtils.isBlank(string) ? "----" : string);
}
}
返回来的数据
from tdengine.
可以加微信具体沟通一下a15652223354
from tdengine.
升级jdbc 版本->3.2.9 td版本3.2.3 之后不会出现上述问题
from tdengine.
Related Issues (20)
- base64 decode for column, like mysql FROM_BASE64(str)
- I created a stream but the supertable doesn't exist HOT 4
- TD count on subtables have low QPS
- C UDF udfd process exited with status 254, signal 0
- BUG:Cache bug of the ”last“ function HOT 1
- can I set the timezone parameter in the Go connector?
- Taos 进程重启后,taos / vnode-commit 对 CPU 产生高占用 HOT 1
- client failed to install in Alpine Linux
- After data was migrated with taosdump, the tags are not consistent with pre-migration HOT 1
- taosdump还原数据的时候,能否恢复到新的数据库,不是备份的数据库的名字,修改dbs.sql无效 HOT 3
- jdbc 3.2.10 & TDengine 3.2.1 - concurrent queries throw FETCH TIME OUT HOT 2
- failed to init dnode since unsupported platform HOT 2
- high availability in the 3.2.3.0 client HOT 5
- 单行函数嵌入到流式计算中报错 HOT 1
- delete data failed HOT 3
- When stream contains aggregate UDF, partition by is must-have
- range too large when database using precision=us(or ns) and query with interval(1n)
- Managed to build but failed to run TDengine 3.3.0.0 on unsupported Linux distribution
- win系统刚安装好之后重启电脑,运行C:\TDengine\taos.exe 提示failed to connect to server
- Ambiguity in official documentation
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tdengine.