This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.


    from 47bf9f4  Correct usage of Optional and reduce redundant calculations 
(#11459)
     add 5318290  support mysql union parser (#11445)

No new revisions were added by this update.

Summary of changes:
 .../src/main/antlr4/imports/mysql/DMLStatement.g4  |  8 +++-
 .../visitor/format/impl/MySQLFormatSQLVisitor.java | 32 ++++++++++------
 .../statement/impl/MySQLStatementSQLVisitor.java   | 19 +++++++++-
 .../constant/UnionType.java}                       |  8 ++--
 .../sql/common/segment/dml/union/UnionSegment.java | 44 ++++++++++++++++++++++
 .../sql/common/statement/dml/SelectStatement.java  |  5 +++
 .../statement/dml/impl/SelectStatementAssert.java  | 21 +++++++++++
 .../ExpectedUnion.java}                            | 17 +++++----
 .../statement/dml/SelectStatementTestCase.java     |  6 +++
 .../src/main/resources/case/dml/select.xml         | 19 ++++++++++
 .../main/resources/sql/supported/dml/select.xml    |  1 +
 11 files changed, 156 insertions(+), 24 deletions(-)
 copy 
shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/{dialect/handler/SQLStatementHandler.java
 => common/constant/UnionType.java} (85%)
 create mode 100644 
shardingsphere-sql-parser/shardingsphere-sql-parser-statement/src/main/java/org/apache/shardingsphere/sql/parser/sql/common/segment/dml/union/UnionSegment.java
 copy 
shardingsphere-test/shardingsphere-parser-test/src/main/java/org/apache/shardingsphere/test/sql/parser/parameterized/jaxb/cases/domain/segment/impl/{projection/impl/top/ExpectedTopProjection.java
 => union/ExpectedUnion.java} (77%)

Reply via email to