-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Disable index range scan of string data type in graph layer #2283
Disable index range scan of string data type in graph layer #2283
Conversation
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
src/graph/LookupExecutor.cpp
Outdated
return Status::OK(); | ||
} | ||
|
||
bool LookupExecutor::dataTypeCheckForRange(nebula::cpp2::SupportedType type) const { |
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.
maybe "rangeSupportedDataType" is a better name ?
String type index is completely rejected |
Codecov Report
@@ Coverage Diff @@
## master #2283 +/- ##
==========================================
- Coverage 86.46% 86.11% -0.36%
==========================================
Files 649 648 -1
Lines 64374 64478 +104
==========================================
- Hits 55662 55523 -139
- Misses 8712 8955 +243
Continue to review full report at Codecov.
|
CI failed of test case log_cas_test (Timeout). retry again. |
After offline discussion, we have other way to solve the performance problem of string types “==” condition. |
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
Please help check the failed UT. @critical27 |
Please resolve the conflicts |
ae2bc43
LGTM |
resolved conflict. |
One test case failed in the last CI, seems that the wal is missing . I saved the failing logs. let me analyze it at later.
|
…nc#2283) * Disable string range scan in graph lyear * rename mothod dataTypeCheckForRange to supportedDataTypeForRange * fixed typo error * Does not support left expr and right expr are both kAliasProp
It was splitted from PR #2277 . Only disable string range scan and contains