def METHOD_NAME(engine_type: _EngineTypeLiteral) -> _Engine:
    if engine_type == "hive":
        return _HiveEngine()
    if engine_type == "presto":
        return _PrestoEngine()
    if engine_type == "partiql":
        return _PartiQLEngine()
    raise exceptions.InvalidArgumentValue(f"Unknown engine type: {engine_type}")