mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
odps sql format support lowercase option
This commit is contained in:
@@ -121,9 +121,11 @@ public class SQLJoinTableSource extends SQLTableSourceImpl {
|
||||
CROSS_APPLY("CROSS APPLY");
|
||||
|
||||
public final String name;
|
||||
public final String name_lcase;
|
||||
|
||||
JoinType(String name){
|
||||
this.name = name;
|
||||
this.name_lcase = name.toLowerCase();
|
||||
}
|
||||
|
||||
public static String toString(JoinType joinType) {
|
||||
|
||||
@@ -20,9 +20,11 @@ public enum SQLUnionOperator {
|
||||
DISTINCT("UNION DISTINCT");
|
||||
|
||||
public final String name;
|
||||
public final String name_lcase;
|
||||
|
||||
private SQLUnionOperator(String name){
|
||||
this.name = name;
|
||||
this.name_lcase = name.toLowerCase();
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
||||
Reference in New Issue
Block a user