Github user ortutay commented on the issue:
https://github.com/apache/phoenix/pull/298
Submitted patch for 4.x, I can't find a way to submit the patch for 5.x in
the same Jira ticket. It's the diff from this PR though:
https://patch-diff.githubusercontent.com/raw/apache/phoenix/pull/298.patch---
