def METHOD_NAME(events_file, db=None):
    return {
        "run_id": "hive-test",
        "source": {
            "type": data_platform,
            "config": {
                "scheme": "hive",
                "database": db,
                "host_port": "localhost:10000",
            },
        },
        "sink": {
            "type": "file",
            "config": {"filename": str(events_file)},
        },
    }