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
`l0`.`OneToOne_Required_PK_Date` AS `OneToOne_Required_PK_Date`,
1159
+
`l0`.`Level1_Optional_Id` AS `Level1_Optional_Id`,
1160
+
`l0`.`Level1_Required_Id` AS `Level1_Required_Id`,
1161
+
`l0`.`Level2_Name` AS `Level2_Name`,
1162
+
`l0`.`OneToMany_Optional_Inverse2Id` AS `OneToMany_Optional_Inverse2Id`,
1163
+
`l0`.`OneToMany_Required_Inverse2Id` AS `OneToMany_Required_Inverse2Id`,
1164
+
`l0`.`OneToOne_Optional_PK_Inverse2Id` AS `OneToOne_Optional_PK_Inverse2Id`
1165
+
FROM `Level1` AS `l0`
1166
+
WHERE
1167
+
`l0`.`OneToOne_Required_PK_Date` IS NOT NULL AND
1168
+
`l0`.`Level1_Required_Id` IS NOT NULL AND
1169
+
`l0`.`OneToMany_Required_Inverse2Id` IS NOT NULL
1170
+
) AS `l1`
1171
+
ON
1172
+
`l`.`Id` = CASE
1173
+
WHEN `l1`.`OneToOne_Required_PK_Date` IS NOT NULL AND `l1`.`Level1_Required_Id` IS NOT NULL AND `l1`.`OneToMany_Required_Inverse2Id` IS NOT NULL THEN `l1`.`Id`
1174
+
ELSE NULL
1175
+
END
1176
+
LEFT JOIN `Level1` AS `l2` ON `l1`.`Level1_Required_Id` = `l2`.`Id`
1177
+
WHERE
1178
+
`l1`.`OneToOne_Required_PK_Date` IS NOT NULL AND
1179
+
`l1`.`Level1_Required_Id` IS NOT NULL AND
1180
+
`l1`.`OneToMany_Required_Inverse2Id` IS NOT NULL AND `l2`.`Id` IN (1, 2)
1181
+
)",
1182
+
.Answer=R"([
1183
+
])",
1184
+
.StreamLookup=StreamLookupJoin,
1185
+
.DoValidateStats=false,
1186
+
.FilterOptionalSide=false// remove this to get failure
0 commit comments