-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[Enhancement]: Optimize expression parsing efficiency #36672
Comments
Excited about the template feature! |
…ficiency (#36675) issue: #36672 --------- Signed-off-by: Cai Zhang <[email protected]>
…on parsing efficiency (#36676) issue: #36672 master pr: #36675 --------- Signed-off-by: Cai Zhang <[email protected]>
issue: #36672 Signed-off-by: Cai Zhang <[email protected]>
we now support nullable fields, how do we handle null in template? |
Currently, our expression does not support null values. We can discuss it further when null support is added in the future. |
null support is already added? |
did you mean isNull and isNotNull? |
yes. we should be able to filter based on Maybe we should not allow
|
In fact, in the future, we will still not support expressions like == null and != null, which will directly report errors at the parse layer. Exposing the NULL keyword will bring a lot of complexity. It needs to be identified in all expressions, and the respective logical relationships need to be considered in complex expressions. Therefore, in the future, we will only support the form of isNull(field) and isNotNull(field). |
that is fine. as long as we have a way of checking null, we can remove the need to support null in expression template. |
…emplates (#37058) issue: #36672 master pr: #37033 milvus-proto pr: milvus-io/milvus-proto#332 Signed-off-by: Cai Zhang <[email protected]>
…emplates (milvus-io#37058) issue: milvus-io#36672 master pr: milvus-io#37033 milvus-proto pr: milvus-io/milvus-proto#332 Signed-off-by: Cai Zhang <[email protected]>
… and OR operations (#37217) issue: #36672 master pr: #37033 Signed-off-by: Cai Zhang <[email protected]>
issue: milvus-io/milvus#36672 Signed-off-by: Cai Zhang <[email protected]>
issue: #milvus-io/milvus#36672 milvus-proto: milvus-io/milvus-proto#331 milvus: milvus-io/milvus#37033 Signed-off-by: Cai Zhang <[email protected]>
…emplates (milvus-io#37058) issue: milvus-io#36672 master pr: milvus-io#37033 milvus-proto pr: milvus-io/milvus-proto#332 Signed-off-by: Cai Zhang <[email protected]>
…emplates (milvus-io#37058) issue: milvus-io#36672 master pr: milvus-io#37033 milvus-proto pr: milvus-io/milvus-proto#332 Signed-off-by: Cai Zhang <[email protected]>
) issue: #36672 The expression supports filling elements through templates, which helps to reduce the overhead of parsing the elements. --------- Signed-off-by: Cai Zhang <[email protected]>
…#37280) issue: #36672 master pr: #37033 milvus-proto pr: milvus-io/milvus-proto#332 Signed-off-by: Cai Zhang <[email protected]>
issue: #36672 master pr: #37290 Signed-off-by: Cai Zhang <[email protected]>
issue: #36672 Signed-off-by: Cai Zhang <[email protected]>
…ssion efficiency (#37485) issue: #36672 master pr: #37484 Signed-off-by: Cai Zhang <[email protected]>
… efficiency (#37484) issue: #36672 Signed-off-by: Cai Zhang <[email protected]>
…#2317) issue: #milvus-io/milvus#36672 milvus-proto: milvus-io/milvus-proto#331 milvus: milvus-io/milvus#37033 Signed-off-by: Cai Zhang <[email protected]> Signed-off-by: NamCaoHai <[email protected]>
#36672 Signed-off-by: lixinguo <[email protected]> Co-authored-by: lixinguo <[email protected]>
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
) pr: #38040 issue: #36672 Signed-off-by: lixinguo <[email protected]> Co-authored-by: lixinguo <[email protected]>
Is there an existing issue for this?
What would you like to be added?
Optimize expression parsing efficiency.
expr=pk > {age} and city in {city}, search_params={age:3, city:['beijing","shanghai"]}
Why is this needed?
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: