图数据库Neo4j测试添加-Cypher语法支持#91
Open
XJL0930 wants to merge 2 commits intoTencent:coo-consistency-checkfrom
Open
Conversation
修改了mda_generate.py,加入了支持Cypher语法的分支,可以通过指定db_type为neo4j的方式生成Cypher语句测试。
加入了sql2cypher转换脚本convert_sql2cypher.py;将t/pg中的测试用.txt文件转换为了cypher形式,并存储在t/neo4j文件夹中
Member
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1.修改了mda_generate.py文件,加入了Cypher语法生成支持的分支,现在可以通过指定数据库类型为neo4j的方式来生成Cypher语法的测试文件。
2.加入了sql2cypher转换脚本,可以将现有的测试.txt文件转换为符合Cypher语法的形式,方便进行Neo4j图数据库的一致性测试。