diff --git ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorExpressionWriterFactory.java ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorExpressionWriterFactory.java index 7a8b8bf..c037ea8 100644 --- ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorExpressionWriterFactory.java +++ ql/src/java/org/apache/hadoop/hive/ql/exec/vector/expressions/VectorExpressionWriterFactory.java @@ -660,7 +660,7 @@ public VectorExpressionWriter init(SettableStringObjectInspector objInspector) @Override public Object writeValue(byte[] value, int start, int length) throws HiveException { this.text.set(value, start, length); - ((SettableStringObjectInspector) this.objectInspector).set(this.obj, this.text.toString()); + ((SettableStringObjectInspector) this.objectInspector).set(this.obj, this.text); return this.obj; } @@ -671,7 +671,7 @@ public Object setValue(Object field, byte[] value, int start, int length) field = initValue(null); } this.text.set(value, start, length); - ((SettableStringObjectInspector) this.objectInspector).set(field, this.text.toString()); + ((SettableStringObjectInspector) this.objectInspector).set(field, this.text); return field; }