Skip to content
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

whether contains support regular expressions in the future #2793

Open
Sophie-Xie opened this issue Sep 6, 2021 · 0 comments
Open

whether contains support regular expressions in the future #2793

Sophie-Xie opened this issue Sep 6, 2021 · 0 comments
Labels
type/feature req Type: feature request

Comments

@Sophie-Xie
Copy link
Contributor

image

Lookup on player where player.name contains toLower(“L”) yield player.name,player.age

The contains clause cause the full-table scan full-text index, because the contained string may be in the middle position of the whole string.

In the future, we need consider whether contains supports regular expressions?
In addition, other string comparison functions have similar problems, such as ends with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/feature req Type: feature request
Projects
None yet
Development

No branches or pull requests

1 participant