提交 3bd387b7 authored 作者: Thomas Mueller's avatar Thomas Mueller

Issue 599: the condition "in(x, y)" could not be used in the select list when using "group by".

上级 399ba6a5
......@@ -116,7 +116,7 @@ public class ConditionInConstantSet extends Condition {
@Override
public void updateAggregate(Session session) {
// nothing to do
left.updateAggregate(session);
}
@Override
......
......@@ -3,6 +3,13 @@
-- Initial Developer: H2 Group
--
--- special grammar and test cases ---------------------------------------------------------------------------------------------
select x, x in(2, 3) i from system_range(1, 2) group by x;
> X I
> - -----
> 1 FALSE
> 2 TRUE
> rows: 2
select * from dual join(select x from dual) on 1=1;
> X X
> - -
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论