When I use parameter to insert vertex, nebula show me an error: -1005:Storage Error: The data type does not meet the requirements. Use the correct type of data. #4375
Labels
type/feature req
Type: feature request
I'm not sure if this is a bug.
What happened?
When I use parameter to insert vertex, nebula show me an error: -1005:Storage Error: The data type does not meet the requirements. Use the correct type of data.
About my env
How To Reproduce
Steps to reproduce the behavior:
Tag of vertex
Set the parameter in Nebula Studio
Test the parameter
Insert vertex with parameters
Others
When I invoke the method (com.vesoft.nebula.client.graph.net.Session#executeWithParameter), if the parameter is a vertex prop, the error happend too.
Reference other repo of nebula using in java, they use com.vesoft.nebula.client.graph.net.Session#execute to doing their work. For example nebula-jdbc and etc. Maybe it's this problem that stops them.
By the way, when we use string splicing to assemble stmt, it may cause a danger that supports nGQL injection I guess.
The text was updated successfully, but these errors were encountered: