Github user m2je commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/317#discussion_r206717705
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java ---
@@ -1223,7 +1225,9 @@ public void readFields(DataInput input) throws
IOException {
boolean hasViewIndexId = encodedIndexedColumnsAndViewId < 0;
if (hasViewIndexId) {
// Fixed length
- viewIndexId = new
byte[MetaDataUtil.getViewIndexIdDataType().getByteSize()];
+ //Use leacy viewIndexIdType for clients older than 4.10 release
--- End diff --
done
---