Skip to content

fix: improve unsupported operator error messages with readable names#319

Merged
longbinlai merged 5 commits into
alibaba:mainfrom
shirly121:fix_error_msg
May 9, 2026
Merged

fix: improve unsupported operator error messages with readable names#319
longbinlai merged 5 commits into
alibaba:mainfrom
shirly121:fix_error_msg

Conversation

@shirly121
Copy link
Copy Markdown
Collaborator

…ble names

What do these changes do?

Related issue number

Fixes #313

Committed-by: Xiaoli Zhou from Dev container
@shirly121 shirly121 changed the title fix(compiler): improve unsupported operator error messages with readable names fix: improve unsupported operator error messages with readable names May 6, 2026
@shirly121 shirly121 requested a review from longbinlai May 6, 2026 10:20
shirly121 added 2 commits May 7, 2026 10:34
Committed-by: Xiaoli Zhou from Dev container
Committed-by: Xiaoli Zhou from Dev container

Committed-by: Xiaoli Zhou from Dev container
db = Database(modern_graph_db_dir, "rw")
conn = db.connect()
query = "MERGE (n:Person {id:1, name: 'marko'})"
with pytest.raises(Exception, match="Unsupported operator type: MERGE"):
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你用merge 做测试用例,那么之后合并 merge 不就又要改了?

Committed-by: Xiaoli Zhou from Dev container
longbinlai
longbinlai previously approved these changes May 8, 2026
Copy link
Copy Markdown
Collaborator

@longbinlai longbinlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Copy Markdown
Collaborator

@longbinlai longbinlai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@longbinlai longbinlai merged commit 8342326 into alibaba:main May 9, 2026
17 checks passed
@lnfjpt lnfjpt mentioned this pull request May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature] Improve compiler error messages for unsupported operators

2 participants