Skip to content

Commit 5d3bc2b

Browse files
authored
[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
1 parent fe63640 commit 5d3bc2b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

regression-test/suites/nereids_p0/stats/partition_key_minmax.groovy

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ suite("partition_key_minmax") {
3232
3333
analyze table rangetable with sync;
3434
"""
35+
def columnStats = sql """show column cached stats rangetable"""
36+
logger.info("rangetable cached stats: " + columnStats)
3537
explain {
3638
sql """memo plan
3739
select * from rangetable where a < 250;
@@ -56,6 +58,9 @@ suite("partition_key_minmax") {
5658
analyze table listtable with sync;
5759
"""
5860

61+
columnStats = sql """show column cached stats listtable"""
62+
logger.info("listtable cached stats: " + columnStats)
63+
5964
explain {
6065
sql """
6166
memo plan select * from listtable where id >=3;

0 commit comments

Comments
 (0)