Github user djh4230 commented on the pull request: https://github.com/apache/phoenix/commit/48e589773cbf46a10a2c1bd5cf483f2390ae1160#commitcomment-16853391 yes, I saw this in 4.7.0 release. In my case, i want to get data from a table with 60 million data, about 70G. There is no index. select max(PK),"req_id_card","req_name_card",max("req_time") as "req_time" from "channellog"("req_id_card" varchar,"req_name_card" varchar,"res_result" varchar) where "resourceId"='185' and "channelId"='15' and "res_result"='1' and to_date("req_time",'yyyy-MM-dd HH:mm:ss')>=to_date('2016-03-24 14:40:10','yyyy-MM-dd HH:mm:ss') group by "req_id_card" ,"req_name_card" It will cost 5-6G cache in server side. I don't known if it's normal. And also this happed in join operation.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---