kadirozde commented on code in PR #1896:
URL: https://github.com/apache/phoenix/pull/1896#discussion_r1615326932
##########
phoenix-core-server/src/main/java/org/apache/phoenix/coprocessor/MetaDataEndpointImpl.java:
##########
@@ -1654,7 +1655,8 @@ else if (linkType == PHYSICAL_TABLE) {
else {
byte[] maxLookbackAgeInBytes =
result.getValue(TABLE_FAMILY_BYTES, MAX_LOOKBACK_AGE_BYTES);
if (maxLookbackAgeInBytes != null) {
- return
PLong.INSTANCE.getCodec().decodeLong(maxLookbackAgeInBytes, 0,
SortOrder.getDefault());
+ return
PInteger.INSTANCE.getCodec().decodeInt(maxLookbackAgeInBytes, 0,
Review Comment:
That is great! Thank you very much! I will update the PR accordingly.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]