Github user twdsilva commented on a diff in the pull request:
https://github.com/apache/phoenix/pull/408#discussion_r238039864
--- Diff:
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java
---
@@ -1447,6 +1457,12 @@ private PTable getTable(RegionScanner scanner, long
clientTimeStamp, long tableT
long updateCacheFrequency = updateCacheFrequencyKv == null ? 0 :
PLong.INSTANCE.getCodec().decodeLong(updateCacheFrequencyKv.getValueArray(),
updateCacheFrequencyKv.getValueOffset(),
SortOrder.getDefault());
+
+ // Check the cell tag to see whether the view has modified this
property
+ byte[] tagUpdateCacheFreq = (updateCacheFrequencyKv == null) ?
HConstants.EMPTY_BYTE_ARRAY :
+ TagUtil.concatTags(HConstants.EMPTY_BYTE_ARRAY,
updateCacheFrequencyKv);
--- End diff --
Currently we only have a single cell tag, but just in case can you search
if the byte[] contains the tag insteads of starts with.
---