Handle BYTES Multi-value columns in indices
@@ -345,6 +345,11 @@ public class SegmentDictionaryCreator implements Closeable {
indexes[i] = _stringValueToIndexMap.getInt(multiValues[i]);
}
break;
+ case BYTES:
+ for (int i = 0; i < multiValues.length; i++) {
+ indexes[i] = _bytesValueToIndexMap.get(new ByteArray((byte[]) multiValues[i]));
+ }
+ break;
default:
throw new UnsupportedOperationException("Unsupported data type : " + _storedType);
}
