queries with the same plan have different plan_digest in information_schema.statement_summary #33559
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
sig/sql-infra
SIG: SQL Infra
type/enhancement
The issue or PR belongs to an enhancement.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
These two queries above actually have the same plan, so they should have the same plan_digest as well.
3. What did you see instead (Required)
They have different plan_digests.
4. What is your TiDB version? (Required)
5. Root Cause Analysis
It is caused by selection operators with different
in-list
lengths are normalized to different strings.The text was updated successfully, but these errors were encountered: