some optimizations may cause some wrong result for extension functions. #51925
Labels
affects-7.1
affects-7.5
severity/major
sig/sql-infra
SIG: SQL Infra
type/bug
The issue is confirmed as a bug.
Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
We found serval problems when a extension function is optimized by planner:
regexp
You can see the test: https://github.com/pingcap/tidb/pull/51926/files#diff-b06ca4f8065e5716bc7b3e5d5cfe389156ad9125bddb40ff1d95a59d889d45c8R461 for detail
2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiDB version? (Required)
The text was updated successfully, but these errors were encountered: