diff --git a/plugin/trino-sybase/src/test/java/io/trino/plugin/sybase/TestingSybaseServer.java b/plugin/trino-sybase/src/test/java/io/trino/plugin/sybase/TestingSybaseServer.java index e9685f5878b7..abf230c9e732 100644 --- a/plugin/trino-sybase/src/test/java/io/trino/plugin/sybase/TestingSybaseServer.java +++ b/plugin/trino-sybase/src/test/java/io/trino/plugin/sybase/TestingSybaseServer.java @@ -90,22 +90,4 @@ public void execute(String sql, String user, String password) throw new RuntimeException(e); } } - - public ResultSet executeQuery(String sql) - { - try { - Class.forName("net.sourceforge.jtds.jdbc.Driver"); - } - catch (ClassNotFoundException e) { - e.printStackTrace(); - } - try (Connection connection = DriverManager.getConnection(getJdbcUrl(), getUsername(), getPassword()); - Statement statement = connection.createStatement()) { - return connection.getMetaData().getColumns("testdb", null, "Persons2", null); -// return statement.executeQuery(sql); - } - catch (SQLException e) { - throw new RuntimeException(e); - } - } }