Skip to content

Commit

Permalink
add odps format support
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Dec 24, 2013
1 parent 90d262f commit a0f6a9f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/alibaba/druid/sql/SQLUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ public static String formatMySql(String sql) {
public static String formatOracle(String sql) {
return format(sql, JdbcUtils.ORACLE);
}

public static String formatOdps(String sql) {
return format(sql, JdbcUtils.ODPS);
}

public static String toOracleString(SQLObject sqlObject) {
StringBuilder out = new StringBuilder();
Expand Down

0 comments on commit a0f6a9f

Please sign in to comment.