未验证 提交 31a4fe07 编写于 作者: Z Zhiyu Yang 提交者: GitHub

fix: BINARY_COLUMN_SIZE is too short

fix: A TDengineError will be thrown since "California.SanFrancisco" is 23 bytes, and BINARY_COLUMN_SIZE is 20
上级 ba912cdf
......@@ -375,7 +375,7 @@ public class ParameterBindingDemo {
private static final String host = "127.0.0.1";
private static final Random random = new Random(System.currentTimeMillis());
private static final int BINARY_COLUMN_SIZE = 20;
private static final int BINARY_COLUMN_SIZE = 30;
private static final String[] schemaList = {
"create table stable1(ts timestamp, f1 tinyint, f2 smallint, f3 int, f4 bigint) tags(t1 tinyint, t2 smallint, t3 int, t4 bigint)",
"create table stable2(ts timestamp, f1 float, f2 double) tags(t1 float, t2 double)",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册