[ https://issues.apache.org/jira/browse/HIVE-10965?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14577808#comment-14577808 ]
Pengcheng Xiong commented on HIVE-10965: ---------------------------------------- I have no idea but I would start from the query that request stats with 0 columns. And if I remembered correctly, I remembered that [~ashutoshc] committed a patch to deal with a similar issue (empty partition or empty columns) several weeks ago. He may have a better answer. Thanks. > direct SQL for stats fails in 0-column case > ------------------------------------------- > > Key: HIVE-10965 > URL: https://issues.apache.org/jira/browse/HIVE-10965 > Project: Hive > Issue Type: Bug > Reporter: Sergey Shelukhin > Assignee: Sergey Shelukhin > Fix For: 1.3.0, 1.2.1, 2.0.0 > > Attachments: HIVE-10965.patch > > -- This message was sent by Atlassian JIRA (v6.3.4#6332)