The match statement starting with a colon (:) in a multi-tag scenario results in a parsing error. #5605
Labels
affects/none
PR/issue: this bug affects none version.
severity/none
Severity of bug
type/bug
Type: something is unexpected
Please check the FAQ documentation before raising an issue
Describe the bug (required)
Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
a3ffc7d8
)How To Reproduce(required)
Steps to reproduce the behavior:
match (v:
frame_common{
project_id : "项目1111"
}
:
frame_feature{
prop_1 : "土建"
,
prop_2 :"主体结构"
}
) return v limit 100
Expected behavior
如上面的match语句,假如:出现在一行的开头,语句会解析错误。
当用ngbatis构造ngql语句的时候,难以完全避免让:出现在行的开头。
目前我们是这么规避的:
通过加入两个if标签,避免让:出现在行首
Additional context
The text was updated successfully, but these errors were encountered: