-
Notifications
You must be signed in to change notification settings - Fork 5.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HandleBinaryLiteral
should ignore TypeNull
#49526
Comments
/type regression |
Regression Analysis |
+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ mysql> explain select null as a union all select 'a' as a order by a; mysql> select null as a union all select 'a' as a order by a; |
mysql> explain select null as a union all select 'a' as a order by a; mysql> select null as a union all select 'a' as a order by a; mysql> select tidb_version(); |
/type performance |
…gcap#49528) (pingcap#34) close pingcap#49526 Co-authored-by: YangKeao <[email protected]>
/found customer |
Enhancement
from_binary(<nil>)
actually does nothing, but TiDB regards theNULL
as binary string, so it may avoid some expressions to be pushed down to TiFlash. We can manually ignore this case.(Though I don't know why this constant is not folded.)
The text was updated successfully, but these errors were encountered: