diff --git a/src/main/java/com/jd/jdbc/engine/ConcatenateEngine.java b/src/main/java/com/jd/jdbc/engine/ConcatenateEngine.java index 46c5cd5..12732db 100644 --- a/src/main/java/com/jd/jdbc/engine/ConcatenateEngine.java +++ b/src/main/java/com/jd/jdbc/engine/ConcatenateEngine.java @@ -32,7 +32,6 @@ import io.vitess.proto.Query; import java.sql.SQLException; import java.util.ArrayList; -import java.util.Arrays; import java.util.Collections; import java.util.LinkedHashSet; import java.util.List; @@ -177,7 +176,7 @@ public VtRowList fetch(boolean wantFields) throws SQLException { return vtResultSet; } if (this.sourceStreamResultList == null) { - initSouceStreamResultList(); + initSourceStreamResultList(); } for (VtStreamResultSet sourceStream : sourceStreamResultList) { if (sourceStream.hasNext()) { @@ -192,7 +191,7 @@ public VtRowList fetch(boolean wantFields) throws SQLException { return vtResultSet; } - private void initSouceStreamResultList() throws SQLException { + private void initSourceStreamResultList() throws SQLException { if (sources == null) { return; } diff --git a/src/main/java/com/jd/jdbc/sqlparser/parser/SQLExprParser.java b/src/main/java/com/jd/jdbc/sqlparser/parser/SQLExprParser.java index 25ab283..904000f 100644 --- a/src/main/java/com/jd/jdbc/sqlparser/parser/SQLExprParser.java +++ b/src/main/java/com/jd/jdbc/sqlparser/parser/SQLExprParser.java @@ -1222,7 +1222,7 @@ private SQLExpr methodRest(SQLExpr expr, String name, boolean aggregate) { return expr; } - public final SQLExpr groupComparisionRest(SQLExpr expr) { + public final SQLExpr groupComparisonRest(SQLExpr expr) { return expr; }