gpt4 book ai didi

python - 如何通过 Python API 删除 Databricks 特征表

转载 作者:行者123 更新时间:2023-12-05 05:45:02 25 4
gpt4 key购买 nike

文档解释了如何delete feature tables through the UI .

是否可以使用 Python FeatureStoreClient 执行相同的操作?我在文档中找不到任何内容:https://docs.databricks.com/_static/documents/feature-store-python-api-reference-0-3-7.pdf

用例:我们使用临时开发环境进行开发,并且在环境被拆除时自动删除资源。现在正在考虑使用feature store,但是不知道如何自动删除。

最佳答案

您可以使用特征存储 Python API 删除特征表。
它在这里描述: http://docs.databricks.com.s3-website-us-west-1.amazonaws.com/applications/machine-learning/feature-store/feature-tables.html#delete-a-feature-table

使用 drop_table 删除一个特征表。当您使用 drop_table 删除表时,基础增量表也会被删除。

fs.drop_table(
name='recommender_system.customer_features'
)

关于python - 如何通过 Python API 删除 Databricks 特征表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/71480473/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com