### Question:
Planner { @VisibleForTesting static SqlNodeList parse(String sql) throws ParseException { try (StringReader in = new StringReader(sql)) { SqlParserImpl impl = new SqlParserImpl(in); impl.switchTo("BTID"); impl.setTabSize(1); impl.setQuotedCasing(Lex.JAVA.quotedCasing); impl.setUnquotedCasing(Lex.JAVA.unquotedCasing); impl.setIdentifierMaxLength(DEFAULT_IDENTIFIER_MAX_LENGTH); return impl.SqlStmtsEof(); } } Planner(Map<String, AthenaXTableCatalog> inputs, AthenaXTableCatalog outputs); JobCompilationResult sql(String sql, int parallelism);  }### Answer:
@Test public void testCreateFunction() throws Exception { String sql = "CREATE FUNCTION foo AS 'com.uber.foo';"; Planner.parse(sql); sql = "CREATE FUNCTION foo AS 'com.uber.foo' USING JAR 'mock: Planner.parse(sql); }
@Test public void testSetOption() throws Exception { String sql = "SET flink.enable.checkpoint=1;"; Planner.parse(sql); }
@Test public void testMultipleStatement() throws Exception { String sql = "SET flink.enable.checkpoint=1;"; SqlNodeList list = Planner.parse(sql); assertEquals(1, list.size()); sql = "SET flink.enable.checkpoint=1;\n" + "SELECT * FROM foo"; list = Planner.parse(sql); assertEquals(2, list.size()); sql = "SET flink.enable.checkpoint=1;\n" + "SELECT * FROM foo;"; list = Planner.parse(sql); assertEquals(2, list.size()); }