【问题标题】:unable to find data in examples dashboard in apache superset无法在 apache 超集中的示例仪表板中找到数据
【发布时间】:2022-02-07 17:07:32
【问题描述】:

我刚开始研究 apache 超集。我想尝试超集提供的示例数据集。我运行了命令

superset load_examples

在虚拟环境中。执行->

No PIL installation found
2022-02-03 16:41:54,811:INFO:superset.utils.screenshots:No PIL installation found
Loading examples metadata and related data into examples
Creating default CSS templates
Loading [World Bank's Health Nutrition and Population Stats]
Creating table [World Bank Health Data] reference
Creating a World's Health Bank dashboard
Loading [Birth names]
Creating some slices
Creating a dashboard
Loading [Random long/lat data]
Creating table reference
Creating a slice
Loading [Country Map data]
Creating table reference
Creating a slice
Loading [San Francisco population polygons]
Creating table San Francisco Population Polygons reference
Loading [Flights data]
Done loading table!
Loading [BART lines]
Creating table San Franciso BART Lines reference
Loading [Multi Line]
Creating table [World Bank Health Data] reference
Creating a World's Health Bank dashboard
Creating some slices
Creating a dashboard
Loading [Misc Charts] dashboard
Creating the dashboard
Loading DECK.gl demo
Loading deck.gl dashboard
Creating Scatterplot slice
Creating Screen Grid slice
Creating Hex slice
Creating Grid slice
Creating Polygon slice
Creating Arc slice
Creating Path slice
Creating a dashboard

似乎安装没有任何问题。现在,当我转到我的超集仪表板时,我找到 World Bank's Data 我点击它,所有图表都显示

No results were returned for this query. If you expected results to be returned, ensure any filters are configured properly and the datasource contains data for the selected time range.

然后我检查所有示例仪表板,所有仪表板都写了相同的内容。 我不知道可能是什么问题。有人可以帮忙吗?

【问题讨论】:

    标签: apache-superset


    【解决方案1】:

    运行superset fab create-admin 并使用用户名(admin)创建一个用户,以便能够加载示例。 然后在load_examples之后superset init

    【讨论】:

    • 我首先完全设置了我的超集,然后我开始了解示例数据集。所以我已经创建了一个管理员用户,一个默认用户并尝试了两者但没有显示任何内容
    猜你喜欢
    • 2019-06-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-02-16
    • 2021-10-06
    • 1970-01-01
    • 2020-07-06
    • 2019-09-04
    相关资源
    最近更新 更多