PHOENIX-1237

https://issues.apache.org/jira/browse/PHOENIX-1237