You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by lu...@apache.org on 2020/08/29 14:10:19 UTC
[shardingsphere] branch master updated (609d897 -> 352f696)
This is an automated email from the ASF dual-hosted git repository.
lujingshang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from 609d897 Merge pull request #7133 from yang-7777/patch-9
new 5057110 add with segment parser for SQLServer insert statement.
new b2698f4 add test case for with segment parser.
new 6f8445e fixes checkstyle, add white space.
new 352f696 Merge pull request #7111 from dongzl/sqlserver-with-parser
The 26494 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../main/antlr4/imports/sqlserver/DMLStatement.g4 | 11 +++-
.../visitor/impl/SQLServerDMLVisitor.java | 56 +++++++++++++++-
.../complex/CommonTableExpressionSegment.java} | 20 ++++--
.../{AliasSegment.java => WithSegment.java} | 10 +--
.../parser/sql/statement/dml/InsertStatement.java | 12 ++++
.../asserts/segment/with/WithClauseAssert.java | 72 ++++++++++++++++++++
.../statement/dml/impl/InsertStatementAssert.java | 11 ++++
.../ExpectedCommonTableExpressColumnsClause.java} | 8 ++-
.../ExpectedCommonTableExpressionClause.java} | 15 +++--
.../ExpectedWithClause.java} | 12 ++--
.../statement/dml/InsertStatementTestCase.java | 4 ++
.../src/main/resources/case/dml/insert.xml | 76 ++++++++++++++++++++++
.../main/resources/sql/supported/dml/insert.xml | 2 +
13 files changed, 283 insertions(+), 26 deletions(-)
copy shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/segment/dml/{assignment/AssignmentSegment.java => expr/complex/CommonTableExpressionSegment.java} (65%)
copy shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/segment/generic/{AliasSegment.java => WithSegment.java} (79%)
create mode 100644 shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/asserts/segment/with/WithClauseAssert.java
copy shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/segment/impl/{insert/ExpectedInsertColumnsClause.java => with/ExpectedCommonTableExpressColumnsClause.java} (86%)
copy shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/segment/impl/{table/ExpectedSubqueryTable.java => with/ExpectedCommonTableExpressionClause.java} (75%)
copy shardingsphere-sql-parser/shardingsphere-sql-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/segment/impl/{insert/ExpectedInsertValuesClause.java => with/ExpectedWithClause.java} (78%)