This is an automated email from the ASF dual-hosted git repository.

kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git


The following commit(s) were added to refs/heads/branch-2.0 by this push:
     new 5f7d3b97581 [fix](test) Fix analyze test p0 cases (#25401)
5f7d3b97581 is described below

commit 5f7d3b975815cc7125aa9b648e9d6ff137efc6a2
Author: AKIRA <33112463+kikyou1...@users.noreply.github.com>
AuthorDate: Fri Oct 13 16:28:08 2023 +0800

    [fix](test) Fix analyze test p0 cases (#25401)
---
 regression-test/suites/statistics/analyze_stats.groovy | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/regression-test/suites/statistics/analyze_stats.groovy 
b/regression-test/suites/statistics/analyze_stats.groovy
index 1c374495034..3fa926ab06d 100644
--- a/regression-test/suites/statistics/analyze_stats.groovy
+++ b/regression-test/suites/statistics/analyze_stats.groovy
@@ -112,7 +112,7 @@ suite("test_analyze") {
     Thread.sleep(1000 * 60)
 
     sql """
-        SELECT COUNT(*) FROM ${tbl}; 
+        SELECT * FROM ${tbl}; 
     """
 
     sql """
@@ -123,7 +123,7 @@ suite("test_analyze") {
 
     try {
         sql """
-            SELECT COUNT(*) FROM ${tbl}; 
+            SELECT * FROM ${tbl}; 
         """
     } catch (Exception e) {
         exception = e
@@ -138,7 +138,7 @@ suite("test_analyze") {
     """
 
     sql """
-        SELECT COUNT(*) FROM ${tbl}; 
+        SELECT * FROM ${tbl}; 
     """
 
     sql """
@@ -147,7 +147,7 @@ suite("test_analyze") {
 
     try {
         sql """
-            SELECT COUNT(*) FROM ${tbl}; 
+            SELECT * FROM ${tbl}; 
         """
     } catch (Exception e) {
         exception = e
@@ -874,7 +874,11 @@ PARTITION `p599` VALUES IN (599)
     """
 
     sql """
-        INSERT INTO test_600_partition_table_analyze VALUES 
(0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),(80),(81),(82),(83),(84),(85),(86),(87),(8
 [...]
+        INSERT INTO test_600_partition_table_analyze VALUES 
(0),(1),(2),(3),(4),(5),(6),(7),(8),(9),(10),(11),(12),(13),(14),(15),(16),(17),(18),(19),(20),(21),(22),(23),(24),(25),(26),(27),(28),(29),(30),(31),(32),(33),(34),(35),(36),(37),(38),(39),(40),(41),(42),(43),(44),(45),(46),(47),(48),(49),(50),(51),(52),(53),(54),(55),(56),(57),(58),(59),(60),(61),(62),(63),(64),(65),(66),(67),(68),(69),(70),(71),(72),(73),(74),(75),(76),(77),(78),(79),(80),(81),(82),(83),(84),(85),(86),(87),(8
 [...]
+    """
+
+    sql """
+        INSERT INTO test_600_partition_table_analyze VALUES 
(301),(302),(303),(304),(305),(306),(307),(308),(309),(310),(311),(312),(313),(314),(315),(316),(317),(318),(319),(320),(321),(322),(323),(324),(325),(326),(327),(328),(329),(330),(331),(332),(333),(334),(335),(336),(337),(338),(339),(340),(341),(342),(343),(344),(345),(346),(347),(348),(349),(350),(351),(352),(353),(354),(355),(356),(357),(358),(359),(360),(361),(362),(363),(364),(365),(366),(367),(368),(369),(370),(371),(372),
 [...]
     """
 
     sql """ANALYZE TABLE test_600_partition_table_analyze WITH SYNC"""


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

Reply via email to