[
https://issues.apache.org/jira/browse/CALCITE-799?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14625152#comment-14625152
]
Julian Hyde commented on CALCITE-799:
-------------------------------------
The query in http://calcite.incubator.apache.org/docs/ has this problem:
{code}
select d.deptno, min(e.empid)
from hr.emps as e
join hr.depts as d
on e.deptno = d.deptno
group by d.deptno
having count(*) > 1
{code}
How embarrassing.
> background example having count(*) result wrong
> -----------------------------------------------
>
> Key: CALCITE-799
> URL: https://issues.apache.org/jira/browse/CALCITE-799
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.3.0-incubating
> Reporter: qihuang.zheng
> Assignee: Julian Hyde
>
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)