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

Regex does not support in lookup #2744

Closed
foesa-yang opened this issue Aug 19, 2021 · 10 comments
Closed

Regex does not support in lookup #2744

foesa-yang opened this issue Aug 19, 2021 · 10 comments
Labels
type/question Type: question about the product

Comments

@foesa-yang
Copy link

In Nebula Graph version v2.5.0, the following statement is not supported:

(root@nebula) [basketballplayer]> LOOKUP ON player WHERE player.name =~ "^.{15,20}$" YIELD player.name, player.age;
[ERROR (-1009)]: SemanticError: Expression (player.name=~"^.{15,20}$") not supported yet

But in the previous version, the statement has a return value as follows:

nebula> LOOKUP ON player WHERE player.name =~ "^.{15,20}$" \
        YIELD player.name, player.age;
+-------------+----------------------+------------+
| VertexID    | player.name          | player.age |
+-------------+----------------------+------------+
| "player147" | "Amar'e Stoudemire"  | 36         |
+-------------+----------------------+------------+
| "player144" | "Shaquille O'Neal"   | 47         |
+-------------+----------------------+------------+
@whitewum
Copy link
Contributor

this is not about full-text-index. it's about lookup for strings.

https://github.com/vesoft-inc/nebula-docs-cn/pull/774/files

@whitewum
Copy link
Contributor

i'd like to check if anything is missing

@bright-starry-sky
Copy link
Contributor

i'd like to check if anything is missing

I think we need A discussion with vesoft-inc/nebula-graph#1335

@foesa-yang
Copy link
Author

foesa-yang commented Aug 20, 2021

vesoft-inc/nebula-graph#1251
nebula graph version: 2.5.0
截屏2021-08-20 上午10 44 35

nebula graph version: 2021.08.01-nightly
lALPDiQ3PkAvcVjNAXLNA3g_888_370 png_720x720g

@Aiee
Copy link
Contributor

Aiee commented Aug 20, 2021

This case has been tested here. It seems this PR wasn't cherry-picked. I'll check the source code.

@HarrisChu
Copy link
Contributor

@Sophie-Xie cc

@Aiee
Copy link
Contributor

Aiee commented Aug 20, 2021

I have confirmed that this pr is not picked into the v2.5.0 release.

@CPWstatic
Copy link
Contributor

I test it in v2.0.0, it also not works. Please confirm if we had support this feature in any of our early versions.

@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 30, 2021
@CPWstatic CPWstatic added the type/question Type: question about the product label Aug 30, 2021
@whitewum
Copy link
Contributor

image

a feature is added. and removed ...

but the behavior is doc-ed.

wired.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/question Type: question about the product
Projects
None yet
Development

No branches or pull requests

6 participants