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

[openCypher tck case] empty map #2695

Closed
czpmango opened this issue Jan 20, 2021 · 1 comment
Closed

[openCypher tck case] empty map #2695

czpmango opened this issue Jan 20, 2021 · 1 comment
Labels
type/feature req Type: feature request

Comments

@czpmango
Copy link
Contributor

neo4j test:

neo4j@neo4j> RETURN {};
+----+
| {} |
+----+
| {} |
+----+

neo4j@neo4j> RETURN {a1: {a2: {a3: {a4: {a5: {a6: {}}}}}}} AS literal;
+----------------------------------------+
| literal                                |
+----------------------------------------+
| {a1: {a2: {a3: {a4: {a5: {a6: {}}}}}}} |
+----------------------------------------+

nebula test:

(czp@nebula) [nba]> yield {}
[ERROR (-7)]: SyntaxError: syntax error near `}'

(czp@nebula) [nba]> yield {a1: {a2: {a3: {a4: {a5: {a6: {}}}}}}} AS literal;
[ERROR (-7)]: SyntaxError: syntax error near `}}}}}}} '

@czpmango czpmango changed the title [openCypher tck case] empty and nested map [openCypher tck case] empty map bug Jan 20, 2021
@czpmango czpmango changed the title [openCypher tck case] empty map bug [openCypher tck case] empty map Mar 23, 2021
@Shylock-Hg
Copy link
Contributor

There is a different with cypher, we has set type that empty set literal is same with empty map.

@CPWstatic CPWstatic transferred this issue from vesoft-inc/nebula-graph Aug 28, 2021
@CPWstatic CPWstatic added the type/feature req Type: feature request label Aug 28, 2021
@czpmango czpmango closed this as completed Aug 8, 2022
yixinglu pushed a commit to yixinglu/nebula that referenced this issue Sep 14, 2023
* Fix leader change after LM restart

* Skip LM check for meta listener
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

3 participants