Comments (6)
yes,it's releasing...
from clickhouse-native-jdbc.
Could u please show us the code? So we can reproduce and look into this problem
from clickhouse-native-jdbc.
ok ,
create table:
CREATE TABLE all_test(
url String,
host String,
topDomain String,
ipaddr String,
country String,
province String,
area String,
ispID String,
audioVideoType UInt8,
euAccessDate Date,
euAccessTime UInt64
)
ENGINE = MergeTree(euAccessDate, (host,topDomain,audioVideoType), 8192);
java code :
Class.forName("com.github.housepower.jdbc.ClickHouseDriver");
Connection connection = DriverManager.getConnection("jdbc:clickhouse://localhost:9000","default","lyd.ai");
Statement stmt = connection.createStatement();
PreparedStatement pstmt = connection.prepareStatement("INSERT INTO all_test VALUES(?, ?, ?,?,?,?,?,?,?,?,?)");
for (int i = 0; i < 10; i++) {
pstmt.setString(1, "www.baidu.com/tt/t.q");
pstmt.setString(2, "www.baidu.com");
pstmt.setString(3, "baidu.com");
pstmt.setString(4, "127.0.0.1");
pstmt.setString(5, "**");
pstmt.setString(6, "北京");
pstmt.setString(7, "北京");
pstmt.setString(8, "电信");
pstmt.setByte(9, (byte)0);
pstmt.setDate(10, java.sql.Date.valueOf("2005-12-12"));
pstmt.setLong(11, 2018080912);
pstmt.addBatch();
}
pstmt.executeBatch();
from clickhouse-native-jdbc.
Thanks for your feedback. We mistake the Chinese String size , fixed
from clickhouse-native-jdbc.
Is it the latest in maven repository ?
from clickhouse-native-jdbc.
V1.4-stable is on the maven central.
https://mvnrepository.com/artifact/com.github.housepower/clickhouse-native-jdbc/1.4-stable
from clickhouse-native-jdbc.
Related Issues (20)
- java.lang.NoClassDefFoundError: io/airlift/compress/zstd/ZstdCompressor HOT 2
- Caused by: com.github.housepower.exception.ClickHouseSQLException: DB::ExceptionDB::Exception: Unexpected packet Data received from client. HOT 3
- ResultSet too slowly with big data
- Was it possible to support two dimensional array?
- Unknown data type: IPv6 HOT 1
- "address.getHostName()" blocking 10+ seconds HOT 1
- 【bug】Connection is currently waiting for an insert operation, check your previous InsertStatement.
- 多线程写入数据的时候会频繁触发GC
- java.nio.BufferOverflowException native jdbc version 2.6.4.
- Looking for new maintainers HOT 1
- The IP address of the clickhouse is in the IPv6 format, but the house power does not support the IPv6 format. HOT 3
- When writing 1 million data per second, frequent GC is triggered in CompressedBuffedWriter.
- sql statement generate: how to use clickhouse function in where condition HOT 1
- Deleting / Updating rows from click house table using python or pyspark HOT 1
- Support LowCardinality series datatype in getMetadata().getColumns() function HOT 1
- Why can't I return error information such as incorrect passwords? HOT 1
- Can not support Array(Tuple(name String, previous_value String, new_value String, reason String)) type
- Unknown compression magic code: 105 HOT 2
- How to insert the Array(Float32) data type
- It is hoped that the executeBatch() method within the Statement class will be supported.
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 clickhouse-native-jdbc.