def execute_statement(cursor, sql, params=None):
    """
    Executes a dml or ddl statement.
    If the input statement is not dml/ddl, then the statement is executed and nothing is returned.
    :param cursor: The input cursor.
    :param sql:    The sql to be executed
    :param params: The parameters
    :return:
    """
    cursor.execute(sql, params if params else {})
