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

V1.1.0 importer 进行字符串格式化使用fmt.Sprintf(“%q”, )导致数据不一致 #157

Closed
tomZou12 opened this issue Jul 28, 2021 · 2 comments · Fixed by #160
Closed

Comments

@tomZou12
Copy link

使用fmt.Sprintf("%q", )会把中文空格转换成\u3000,插入到数据库就会被转换成u3000,导致数据不一致

@jievince
Copy link
Contributor

我没有复现出来,可以详细描述一下吗?

(root@nebula) [nba]> FETCH PROP ON * "101"
+----------------------------------------------+
| vertices_                                    |
+----------------------------------------------+
| ("101" :player{age: 18, name: "下午,中国"}) |

@tomZou12
Copy link
Author

1.1.0的importer,插入数据到1.1.0的集群。
例如数据为"中国(  )",空格就会被转成了\u3000插入到数据库

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 a pull request may close this issue.

2 participants