github-actions[bot] commented on code in PR #62479:
URL: https://github.com/apache/doris/pull/62479#discussion_r3107904162


##########
regression-test/suites/query_p0/hint/test_leading.groovy:
##########
@@ -116,7 +116,7 @@ suite("test_leading") {
     qt_select5_2 """select /*+ leading(t2 t1) */ count(*) from t1 join t2 on 
c1 > c2;"""
 
     qt_select6_1 """select count(*) from t1 join t2 on c1 > c2 join t3 on c2 > 
c3 where c1 < 100;"""
-    qt_select6_2 """select /*+ leading(t1 {t2 t3}) */ count(*) from t1 join t2 
on c1 > c2 join t3 on c2 > c3 where c1 < 100;"""
+    qt_select6_2 """select /*+ leading(t1 {t2 t3}) */ count(*) from t1 join t2 
on c1 > c2 join t3 on c2 > c3 where c1 < 10;"""

Review Comment:
   This change stops `test_leading` from checking that `leading(t1 {t2 t3})` 
preserves results for the same 3-table non-equi join. Throughout this file, the 
`_1` and `_2` cases are paired versions of the same SQL with and without a 
hint, but after this edit `qt_select6_1` still uses `where c1 < 100` while 
`qt_select6_2` uses `where c1 < 10`. If the original hinted case is too 
expensive, can we reduce both branches together or add a separate smaller 
timeout-focused case instead?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to