Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev/calcite #3

Merged
merged 14 commits into from
Dec 22, 2021
Prev Previous commit
Next Next commit
minor refactoring
  • Loading branch information
taewhi committed Dec 14, 2021
commit 421fc0b73547ed3de701acf4ef381654452fedf6
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ SqlString generateSql() {
tableName(), null, null, null, null, null, null, null, null);
final SqlWriterConfig config = SqlPrettyWriter.config()
.withAlwaysUseParentheses(true)
.withDialect(jdbcSchema.getJdbcDataSource().getDialect());
.withDialect(getJdbcDataSource().getDialect());
final SqlPrettyWriter writer = new SqlPrettyWriter(config);
node.unparse(writer, 0, 0);
return writer.toSqlString();
Expand Down