From 5d3bc2b051ffb134c8ad5054d1fe5ced5aef5527 Mon Sep 17 00:00:00 2001 From: James Date: Sun, 8 Dec 2024 09:56:29 +0800 Subject: [PATCH] [fix](regression)Add log to investigate nereids_p0/stats/partition_key_minmax case failure. (#45121) ### What problem does this PR solve? Add log to investigate nereids_p0/stats/partition_key_minmax case failure. Issue Number: close #xxx Related PR: #xxx Problem Summary: ### Release note None --- .../suites/nereids_p0/stats/partition_key_minmax.groovy | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/regression-test/suites/nereids_p0/stats/partition_key_minmax.groovy b/regression-test/suites/nereids_p0/stats/partition_key_minmax.groovy index 3a58d1b6f23ed2..e7d733611e79d1 100644 --- a/regression-test/suites/nereids_p0/stats/partition_key_minmax.groovy +++ b/regression-test/suites/nereids_p0/stats/partition_key_minmax.groovy @@ -32,6 +32,8 @@ suite("partition_key_minmax") { analyze table rangetable with sync; """ + def columnStats = sql """show column cached stats rangetable""" + logger.info("rangetable cached stats: " + columnStats) explain { sql """memo plan select * from rangetable where a < 250; @@ -56,6 +58,9 @@ suite("partition_key_minmax") { analyze table listtable with sync; """ + columnStats = sql """show column cached stats listtable""" + logger.info("listtable cached stats: " + columnStats) + explain { sql """ memo plan select * from listtable where id >=3;