airborne12 opened a new pull request, #42699:
URL: https://github.com/apache/doris/pull/42699

   ## Proposed changes
   
   Fix case error as below
   ```
   Exception in inverted_index_p0/test_count_on_index.groovy(line 151):
   
   
           sql "sync"
           sql """ set enable_common_expr_pushdown = true """
           sql """set experimental_enable_nereids_planner=true;"""
           sql """set enable_fallback_to_original_planner=false;"""
           sql """analyze table ${testTable_dup} with sync""";
           // wait BE report every partition's row count
           sleep(10000)
           // case1: test duplicate table
           explain {
   ^^^^^^^^^^^^^^^^^^^^^^^^^^ERROR LINE^^^^^^^^^^^^^^^^^^^^^^^^^^
               sql("select COUNT() from ${testTable_dup} where request match 
'GET'")
               contains "pushAggOp=COUNT_ON_INDEX"
           }
           qt_sql(" select COUNT(*) from ${testTable_dup} where request match 
'images' ")
           sql " set enable_count_on_index_pushdown=false; "
           qt_sql(" select COUNT(*) from ${testTable_dup} where request match 
'images' ")
           sql " set enable_count_on_index_pushdown=true; "
   
           // case1.1: test duplicate table with null values.
           sql " insert into ${testTable_dup} values(1683964756,null,'GET 
/images/hm_bg.jpg HTTP/1.0 ',null,null); "
   
   Exception:
   java.lang.IllegalStateException: Explain and check failed, expect contains 
'pushAggOp=COUNT_ON_INDEX', but actual explain string is:
   ```
   
   


-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to