@@ -175,8 +175,8 @@ public static void Preparedata_array(long count1,long count2) throws IOException
175175 "ccomplex = array( COMPLEX[]).append!(cut(rand(complex(rand(100, 1000), rand(100, 1000)) join NULL, n), m))\n " +
176176 "cpoint = array(POINT[]).append!(cut(rand(point(rand(100, 1000), rand(100, 1000)) join NULL, n), m))\n " +
177177 "cdecimal32 = array(DECIMAL32(2)[]).append!(cut(decimal32(take(-100..100 join NULL, n) + 0.254, 3), m))\n " +
178- "cdecimal64 = array(DECIMAL64(7)[]).append!(cut(decimal64(take(-100..100 join NULL, n) + 0.25467 , 4), m))\n " +
179- "cdecimal128 = array(DECIMAL128(19)[]).append!(cut(decimal128(take(-100..100 join NULL, n) + 0.25467 , 5), m))\n " +
178+ "cdecimal64 = array(DECIMAL64(7)[]).append!(cut(decimal64(take(-100..100 join NULL, n) + 0.25 , 4), m))\n " +
179+ "cdecimal128 = array(DECIMAL128(19)[]).append!(cut(decimal128(take(-100..100 join NULL, n) + 0.25 , 5), m))\n " +
180180 "share table(cbool, cchar, cshort, cint, clong, cdouble, cfloat, cdate, cmonth, ctime, cminute, csecond, cdatetime, ctimestamp, cnanotime, cnanotimestamp, cdatehour, cuuid, cipaddr, cint128, cpoint, ccomplex, cdecimal32, cdecimal64, cdecimal128) as data;\n " ;
181181 DBConnection conn = new DBConnection ();
182182 conn .connect (HOST ,PORT ,"admin" ,"123456" );
@@ -219,8 +219,8 @@ public static void Preparedata_array_decimal(long count1,long count2) throws IOE
219219 "n=" +count1 +";\n " +
220220 "m=" +count2 +";\n " +
221221 "cdecimal32 = array(DECIMAL32(2)[]).append!(cut(decimal32(take(-100..100 join NULL, n) + 0.254, 3), m))\n " +
222- "cdecimal64 = array(DECIMAL64(7)[]).append!(cut(decimal64(take(-100..100 join NULL, n) + 0.25467 , 4), m))\n " +
223- "cdecimal128 = array(DECIMAL128(19)[]).append!(cut(decimal128(take(-100..100 join NULL, n) + 0.25467 , 5), m))\n " +
222+ "cdecimal64 = array(DECIMAL64(7)[]).append!(cut(decimal64(take(-100..100 join NULL, n) + 0.2546 , 4), m))\n " +
223+ "cdecimal128 = array(DECIMAL128(19)[]).append!(cut(decimal128(take(-100..100 join NULL, n) + 0.25 , 5), m))\n " +
224224 "share table( cdecimal32, cdecimal64,cdecimal128) as data;" ;
225225 DBConnection conn = new DBConnection ();
226226 conn .connect (HOST ,PORT ,"admin" ,"123456" );
@@ -287,7 +287,7 @@ public static void PrepareUser_authMode(String userName,String password,String a
287287 public static void checkData (BasicTable exception , BasicTable resTable ) {
288288 assertEquals (exception .rows (), resTable .rows ());
289289 for (int i = 0 ; i < exception .columns (); i ++) {
290- System .out .println ("col" + resTable .getColumnName (i ));
290+ // System.out.println("col" + resTable.getColumnName(i));
291291 assertEquals (exception .getColumn (i ).getString (), resTable .getColumn (i ).getString ());
292292 }
293293 }
0 commit comments