无法在 Apache Superset 中启用功能标志

问题描述 投票:0回答:1

我正在使用 apache-superset 2.0.0 和 python 3.9。我创建了 superset_config.py 文件,如下所示,导出了 SUPERSET_CONFIG_PATH,在初始化超集后,我收到以下消息“已在 [/home/...] 加载您的本地配置”。但是,创建/编辑图表时仍然不显示启用的功能。有人可以帮我吗?

# Superset specific config
ROW_LIMIT = 5000
# ---------------------------------------------------
# Feature flags
# ---------------------------------------------------
# Feature flags that are set by default go here. Their values can be
# overwritten by those specified under FEATURE_FLAGS in superset_config.py
# For example, DEFAULT_FEATURE_FLAGS = { 'FOO': True, 'BAR': False } here
# and FEATURE_FLAGS = { 'BAR': True, 'BAZ': True } in superset_config.py
# will result in combined feature flags of { 'FOO': True, 'BAR': True, 'BAZ': True }
FEATURE_FLAGS = {
    "DRILL_TO_DETAIL": True,
        "DASHBOARD_CROSS_FILTERS": True,
        "ALERTS_ATTACH_REPORTS": True,
        "DASHBOARD_NATIVE_FILTERS_SET": True,
        "ALERT_REPORTS": True,
        "DASHBOARD_FILTERS_EXPERIMENTAL": True,
        "ALLOW_ADHOC_SUBQUERY": True,
        "DRUID_JOINS": True
}

提前致谢

configuration apache-superset
1个回答
0
投票

默认情况下,已经有 Superset 使用的 superset_config.py 文件。编辑 /docker/pythonpath_dev 中的 superset_config.py 文件。

© www.soinside.com 2019 - 2024. All rights reserved.