kuzu icon indicating copy to clipboard operation
kuzu copied to clipboard

Bug: oC_SingleQuery error when leading zeros in integer

Open teetering opened this issue 6 months ago • 1 comments

Kùzu version

v0.4.2

What operating system are you using?

https://demo.kuzudb.com/

What happened?

Execute a cyher query with an integer with a leading zero and get an oC_SingleQuery error. Perhaps I am not looking in the right place, but I don't think this is a cypher requirement but a Kuzu issue?

Are there known steps to reproduce?

MERGE (e1:Thing {num: 0001045810, name: 'asdfasf'}) ;

Error:

Parser exception: Invalid input <MERGE (e1:Thing {num: 00>: expected rule oC_SingleQuery (line: 1, offset: 23)
"MERGE (e1:Thing {num: 0001045810, name: 'asdfasf'}) ;"

teetering avatar Aug 05 '24 14:08 teetering