-
Notifications
You must be signed in to change notification settings - Fork 411
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
NULL behavior fix for logical operator #380
Conversation
/run-all-tests |
/run-integration-tests |
Why don't we just fix ClickHouse and/or if we are sure that they are against the standard SQL. |
the main concern is it will make TiFlash incompatible with ClickHouse |
What's the point of keeping TiFlash being compatible with ClickHouse? |
/run-integration-tests |
remove tidbAnd/tidbOr, fix ClickHouse and/or inplace. |
return !is_null && !value; | ||
} | ||
|
||
static void adjustForNullValue(UInt8 & value, UInt8 & is_null) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not inline this function?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
/rebuild |
/run-integration-tests |
2 similar comments
/run-integration-tests |
/run-integration-tests |
/rebuild |
/run-integration-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
TiDB and TiFlash have different NULL behavior for some logical operator(https://docs.google.com/document/d/17y5CTZ3cs-kmL7vg3gAYI2b8z1_B1sLh4QC9ewyFyDk/edit)
This pr add tidbAnd and tidbOr in TiFlash, and coprocessor will use these functions instead of ch native logical functions