Skip to content

Commit

Permalink
feat: implemented working query anonymizer
Browse files Browse the repository at this point in the history
  • Loading branch information
tolgadur committed Apr 8, 2021
1 parent ec12516 commit 294b467
Show file tree
Hide file tree
Showing 13 changed files with 1,007 additions and 1 deletion.
12 changes: 12 additions & 0 deletions ksqldb-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,18 @@
<version>${io.confluent.ksql.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.approvaltests</groupId>
<artifactId>approvaltests</artifactId>
<version>9.5.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.approvaltests</groupId>
<artifactId>approvaltests</artifactId>
<version>9.5.0</version>
<scope>test</scope>
</dependency>

</dependencies>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public PreparedStatement<?> prepare(
}
}

private static SqlBaseParser.StatementsContext getParseTree(final String sql) {
public static SqlBaseParser.StatementsContext getParseTree(final String sql) {

final SqlBaseLexer sqlBaseLexer = new SqlBaseLexer(
new CaseInsensitiveStream(CharStreams.fromString(sql)));
Expand Down
Loading

0 comments on commit 294b467

Please sign in to comment.