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

zhangliang 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 fe43f9e5e56 Adjust the select sql statement in 
OracleParserStatementExample. (#18681)
fe43f9e5e56 is described below

commit fe43f9e5e56ec95343e449ec127a76c71b6c58a6
Author: jiangML <[email protected]>
AuthorDate: Sat Jul 2 13:02:25 2022 +0800

    Adjust the select sql statement in OracleParserStatementExample. (#18681)
    
    * Adjust the select sql statement in OracleParserStatementExample.
    
    * Remove extra spaces in sql statement.
---
 .../example/parser/oracle/statement/OracleParserStatementExample.java   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/examples/other-example/shardingsphere-parser-example/src/main/java/org/apache/shardingsphere/example/parser/oracle/statement/OracleParserStatementExample.java
 
b/examples/other-example/shardingsphere-parser-example/src/main/java/org/apache/shardingsphere/example/parser/oracle/statement/OracleParserStatementExample.java
index 633bcb9299e..02468219534 100644
--- 
a/examples/other-example/shardingsphere-parser-example/src/main/java/org/apache/shardingsphere/example/parser/oracle/statement/OracleParserStatementExample.java
+++ 
b/examples/other-example/shardingsphere-parser-example/src/main/java/org/apache/shardingsphere/example/parser/oracle/statement/OracleParserStatementExample.java
@@ -29,7 +29,7 @@ import java.util.Properties;
 
 public final class OracleParserStatementExample {
     
-    private static final String DML_SELECT_SQL = "SELECT t.id, t.name, t.age 
FROM table1 AS t ORDER BY t.id DESC;";
+    private static final String DML_SELECT_SQL = "SELECT t.id, t.name, t.age 
FROM table1 t ORDER BY t.id DESC;";
     
     private static final String DML_INSERT_SQL = "INSERT INTO table1 (name, 
age) VALUES ('z', 18);";
     

Reply via email to