Github user ravipesala commented on a diff in the pull request:
https://github.com/apache/carbondata/pull/2872#discussion_r233321330
--- Diff: integration/spark-datasource/src/main/spark2.1andspark2.2/org/apache/spark/sql/CarbonVectorProxy.java ---
@@ -454,7 +458,11 @@ public ColumnVector reserveDictionaryIds(int capacity) {
* and offset.
*/
public void putAllByteArray(byte[] data, int offset, int length) {
- vector.arrayData().appendBytes(length, data, offset);
+ try {
+ byteArray.set(vector.arrayData(), data);
--- End diff --
please remove this
---