This is an automated email from the ASF dual-hosted git repository.
jianglongtao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new e7a4d7c Move the test content of `parse sql` to advance.xml (#13901)
e7a4d7c is described below
commit e7a4d7c718436bf87ca8830a7772af0f3fe7f821
Author: lanchengx <[email protected]>
AuthorDate: Fri Dec 3 09:29:33 2021 -0600
Move the test content of `parse sql` to advance.xml (#13901)
---
.../src/main/resources/case/ral/advance.xml | 1 +
.../src/main/resources/case/ral/parse.xml | 21 ---------------------
.../main/resources/sql/supported/ral/advance.xml | 1 +
.../src/main/resources/sql/supported/ral/parse.xml | 21 ---------------------
4 files changed, 2 insertions(+), 42 deletions(-)
diff --git
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/advance.xml
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/advance.xml
index 004b5f4..67a052b 100644
---
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/advance.xml
+++
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/advance.xml
@@ -18,4 +18,5 @@
<sql-parser-test-cases>
<preview-sql sql-case-id="preview-sql" />
+ <parse-sql sql-case-id="parse-sql" sql="SELECT * FROM t_order;" />
</sql-parser-test-cases>
diff --git
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/parse.xml
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/parse.xml
deleted file mode 100644
index 6f6f2d4..0000000
---
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/case/ral/parse.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<sql-parser-test-cases>
- <parse-sql sql-case-id="parse-sql" sql="SELECT * FROM t_order;" />
-</sql-parser-test-cases>
diff --git
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/advance.xml
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/advance.xml
index 23b688e..457ef89 100644
---
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/advance.xml
+++
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/advance.xml
@@ -18,4 +18,5 @@
<sql-cases>
<distsql-case id="preview-sql" value="PREVIEW SELECT * FROM t_order;" />
+ <distsql-case id="parse-sql" value="PARSE SELECT * FROM t_order;" />
</sql-cases>
diff --git
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/parse.xml
b/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/parse.xml
deleted file mode 100644
index d01790a..0000000
---
a/shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ral/parse.xml
+++ /dev/null
@@ -1,21 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- ~ Licensed to the Apache Software Foundation (ASF) under one or more
- ~ contributor license agreements. See the NOTICE file distributed with
- ~ this work for additional information regarding copyright ownership.
- ~ The ASF licenses this file to You under the Apache License, Version 2.0
- ~ (the "License"); you may not use this file except in compliance with
- ~ the License. You may obtain a copy of the License at
- ~
- ~ http://www.apache.org/licenses/LICENSE-2.0
- ~
- ~ Unless required by applicable law or agreed to in writing, software
- ~ distributed under the License is distributed on an "AS IS" BASIS,
- ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- ~ See the License for the specific language governing permissions and
- ~ limitations under the License.
- -->
-
-<sql-cases>
- <distsql-case id="parse-sql" value="PARSE SELECT * FROM t_order;" />
-</sql-cases>