diff --git a/client/src/main/java/com/vesoft/nebula/encoder/RowWriterImpl.java b/client/src/main/java/com/vesoft/nebula/encoder/RowWriterImpl.java index 4a3725ef6..c2cb08b72 100644 --- a/client/src/main/java/com/vesoft/nebula/encoder/RowWriterImpl.java +++ b/client/src/main/java/com/vesoft/nebula/encoder/RowWriterImpl.java @@ -638,7 +638,6 @@ public void write(int index, DateTime v) { @Override public void write(int index, Geography v) { - System.out.println("write(index, geography), " + index); SchemaProvider.Field field = schema.field(index); PropertyType typeEnum = PropertyType.findByValue(field.type()); if (typeEnum == null) { @@ -658,11 +657,6 @@ public void write(int index, Geography v) { .WKBWriter(2, ByteOrderValues.LITTLE_ENDIAN) .write(jtsGeom); write(index, wkb); - String hexedWKb = Hex.encodeHexString(wkb); - System.out.println("write(index, geography), wkb.size()=" + wkb.length - + ", wkb.content=" + wkb); - System.out.println("write(index, geography), hexedWKb.size()=" + hexedWKb.length() - + ", hexedWKb.content=" + hexedWKb); } @Override @@ -707,7 +701,6 @@ public void setValue(int index, Object value) { } else if (value instanceof DateTime) { write(index, (DateTime)value); } else if (value instanceof Geography) { - System.out.println("jie, " + index + ", setValue(index, Object) for geography"); write(index, (Geography)value); } else { throw new RuntimeException("Unsupported value object `" + value.getClass() + "\""); @@ -752,7 +745,6 @@ public void setValue(int index, Value value) { write(index, value.getDtVal()); break; case Value.GGVAL: - System.out.println("jie, " + index + ", setValue(index, value) for geography"); write(index, value.getGgVal()); break; default: diff --git a/client/src/test/java/com/vesoft/nebula/encoder/TestEncoder.java b/client/src/test/java/com/vesoft/nebula/encoder/TestEncoder.java index 0a937c85f..d66a44f22 100644 --- a/client/src/test/java/com/vesoft/nebula/encoder/TestEncoder.java +++ b/client/src/test/java/com/vesoft/nebula/encoder/TestEncoder.java @@ -273,10 +273,6 @@ public void testEncodeVertexValue() { // File file = new File("encode_java.txt"); // FileOutputStream fileOutputStream = new FileOutputStream(file); // fileOutputStream.write(encodeStr); - System.out.println("hex vs expect"); - System.out.println(hexStr); - System.out.println("***********"); - System.out.println(allTypeValueExpectResult); Assert.assertArrayEquals(allTypeValueExpectResult.getBytes(), hexStr.substring(0, hexStr.length() - 16).getBytes()); } catch (Exception exception) {