Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
Signed-off-by: Tomoyuki Morita <moritato@amazon.com>
  • Loading branch information
ykmr1224 committed Sep 18, 2024
1 parent 32ea4dd commit 2506a87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

public class GrammarElementValidatorFactory {

private static GrammarElementValidator defaultValidator = new DenyListGrammarElementValidator(
ImmutableSet.of());
private static GrammarElementValidator defaultValidator =
new DenyListGrammarElementValidator(ImmutableSet.of());
private static Map<DataSourceType, GrammarElementValidator> validatorMap =
ImmutableMap.of(
DataSourceType.S3GLUE, new S3GlueGrammarElementValidator(),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ class SQLQueryValidatorTest {
@AllArgsConstructor
private enum TestQuery {
// DDL Statements
ALTER_DATABASE(
"ALTER DATABASE inventory SET DBPROPERTIES ('Edit-date' = '01/01/2001');"),
ALTER_DATABASE("ALTER DATABASE inventory SET DBPROPERTIES ('Edit-date' = '01/01/2001');"),
ALTER_TABLE(
"ALTER TABLE default.StudentInfo PARTITION (age='10') RENAME TO PARTITION (age='15');"),
ALTER_VIEW("ALTER VIEW tempdb1.v1 RENAME TO tempdb1.v2;"),
Expand Down

0 comments on commit 2506a87

Please sign in to comment.