You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ "left join (select order_id, count(*) as total_items, sum(order_qty*unit_price) as total_amount from o_order_detail group by order_id) z_bt1 on z_bt1.order_id = t1.id "
@@ -102,7 +102,7 @@ public void testWhereOnChainedFormulaProperty() {
+ "left join (select order_id, count(*) as total_items, sum(order_qty*unit_price) as total_amount from o_order_detail group by order_id) z_bt1 on z_bt1.order_id = t1.id "
@@ -316,7 +316,7 @@ public void test_ChildPersonParentFindIds() {
316
316
List<String> loggedSql = LoggedSql.stop();
317
317
assertEquals(1, loggedSql.size());
318
318
assertThat(loggedSql.get(0))
319
-
.contains("select t0.identifier from child_person t0")
319
+
.contains("select distinct t0.identifier from child_person t0")
assertThat(loggedSql.get(0)).contains("select count(*) from ( select distinct t0.identifier from child_person t0 left join parent_person t1 on t1.identifier = t0.parent_identifier");
0 commit comments