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
This commit is contained in:
parent
ba912cdfc0
commit
31a4fe0722
|
@ -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)",
|
||||
|
|
Loading…
Reference in New Issue