Skip to content

Commit

Permalink
[fix](regression)Add log to investigate nereids_p0/stats/partition_ke…
Browse files Browse the repository at this point in the history
…y_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
  • Loading branch information
Jibing-Li authored Dec 8, 2024
1 parent fe63640 commit 5d3bc2b
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;
Expand Down

0 comments on commit 5d3bc2b

Please sign in to comment.