From ebad4d18e1c39c0043fcc7c2c55867de3e6765bf Mon Sep 17 00:00:00 2001 From: yydeng626 Date: Thu, 8 Feb 2024 13:51:11 +0800 Subject: [PATCH] Support parsing SQL Server INSERT INTO sql #29193 (#30002) --- .../src/main/resources/case/dml/insert.xml | 76 +++++++++ .../src/main/resources/case/dml/select.xml | 151 ++++++++++++++++++ .../src/main/resources/case/dml/update.xml | 29 ++++ .../resources/sql/supported/dml/insert.xml | 3 + .../resources/sql/supported/dml/select.xml | 3 + .../resources/sql/supported/dml/update.xml | 1 + 6 files changed, 263 insertions(+) diff --git a/test/it/parser/src/main/resources/case/dml/insert.xml b/test/it/parser/src/main/resources/case/dml/insert.xml index 0ab3f1d1e9e20..d12092c498e36 100644 --- a/test/it/parser/src/main/resources/case/dml/insert.xml +++ b/test/it/parser/src/main/resources/case/dml/insert.xml @@ -3635,4 +3635,80 @@ + + + + +
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + +
diff --git a/test/it/parser/src/main/resources/case/dml/select.xml b/test/it/parser/src/main/resources/case/dml/select.xml index 451ce16c62146..80b7bcfcfa2ae 100644 --- a/test/it/parser/src/main/resources/case/dml/select.xml +++ b/test/it/parser/src/main/resources/case/dml/select.xml @@ -8426,4 +8426,155 @@ + + diff --git a/test/it/parser/src/main/resources/case/dml/update.xml b/test/it/parser/src/main/resources/case/dml/update.xml index e06e4a0eb7e63..722e05076a6f8 100644 --- a/test/it/parser/src/main/resources/case/dml/update.xml +++ b/test/it/parser/src/main/resources/case/dml/update.xml @@ -2090,4 +2090,33 @@ + + + + + + +
+ + + + + + + + + + + + + + + + + + = + + + +
diff --git a/test/it/parser/src/main/resources/sql/supported/dml/insert.xml b/test/it/parser/src/main/resources/sql/supported/dml/insert.xml index 39b2f27aecb0a..d230ffc6f6b9c 100644 --- a/test/it/parser/src/main/resources/sql/supported/dml/insert.xml +++ b/test/it/parser/src/main/resources/sql/supported/dml/insert.xml @@ -138,4 +138,7 @@ + + + diff --git a/test/it/parser/src/main/resources/sql/supported/dml/select.xml b/test/it/parser/src/main/resources/sql/supported/dml/select.xml index b44a53f993514..22fd7b5eef15d 100644 --- a/test/it/parser/src/main/resources/sql/supported/dml/select.xml +++ b/test/it/parser/src/main/resources/sql/supported/dml/select.xml @@ -258,4 +258,7 @@ + diff --git a/test/it/parser/src/main/resources/sql/supported/dml/update.xml b/test/it/parser/src/main/resources/sql/supported/dml/update.xml index 9043c94a55ab5..7a66ca8a75476 100644 --- a/test/it/parser/src/main/resources/sql/supported/dml/update.xml +++ b/test/it/parser/src/main/resources/sql/supported/dml/update.xml @@ -63,4 +63,5 @@ +