### Question:
SqlCompiler implements Closeable { private CompiledQuery compileSet(SqlExecutionContext executionContext) { return compiledQuery.ofSet(); } SqlCompiler(CairoEngine engine);  SqlCompiler(CairoEngine engine, @Nullable MessageBus messageBus, @Nullable FunctionFactoryCache functionFactoryCache); static void configureLexer(GenericLexer lexer); static boolean isAssignableFrom(int to, int from); @Override void close(); @NotNull CompiledQuery compile(@NotNull CharSequence query, @NotNull SqlExecutionContext executionContext); CairoEngine getEngine(); static final ObjList<String> sqlControlSymbols; }### Answer:
@Test public void testCompileSet() throws Exception { String query = "SET x = y"; TestUtils.assertMemoryLeak(() -> { try { Assert.assertEquals(SET, compiler.compile(query, sqlExecutionContext).getType()); } finally { engine.releaseAllWriters(); engine.releaseAllReaders(); } }); }