presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoStatement.java/PrestoStatement/clearWarnings
class PrestoStatement:    @Override
    public void clearWarnings()
            throws SQLException
    {
        checkOpen();
        currentWarningsManager.get().ifPresent(WarningsManager::clearWarnings);
    }