You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by wu...@apache.org on 2021/06/17 12:35:12 UTC
[shardingsphere] branch opengauss_adapt updated: Fix implements of
OpenGaussParserFacade (#10849)
This is an automated email from the ASF dual-hosted git repository.
wuweijie pushed a commit to branch opengauss_adapt
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/opengauss_adapt by this push:
new 4a58244 Fix implements of OpenGaussParserFacade (#10849)
4a58244 is described below
commit 4a582440a099812e09f9cbcfa14f5b4049f30285
Author: 吴伟杰 <wu...@apache.org>
AuthorDate: Thu Jun 17 20:34:44 2021 +0800
Fix implements of OpenGaussParserFacade (#10849)
---
.../sql/parser/postgresql/parser/OpenGaussParserFacade.java | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/parser/OpenGaussParserFacade.java b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/parser/OpenGaussParserFacade.java
index 1f23cb1..94ce786 100644
--- a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/parser/OpenGaussParserFacade.java
+++ b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-postgresql/src/main/java/org/apache/shardingsphere/sql/parser/postgresql/parser/OpenGaussParserFacade.java
@@ -19,18 +19,19 @@ package org.apache.shardingsphere.sql.parser.postgresql.parser;
import org.apache.shardingsphere.sql.parser.api.parser.SQLLexer;
import org.apache.shardingsphere.sql.parser.api.parser.SQLParser;
-import org.apache.shardingsphere.sql.parser.spi.SQLParserFacade;
+import org.apache.shardingsphere.sql.parser.spi.DatabaseTypedSQLParserFacade;
/**
* SQL parser facade for OpenGauss.
*/
-public final class OpenGaussParserFacade implements SQLParserFacade {
-
+public final class OpenGaussParserFacade implements DatabaseTypedSQLParserFacade {
+
/**
* Get Database Type.
*
* @return Database Type
*/
+ @Override
public String getDatabaseType() {
return "OpenGauss";
}