Skip to main content

Issue Code Reference

此页面列出了在 Superset 中可能显示的问题代码,并提供了额外的上下文信息。

Issue 1000​

The datasource is too large to query.

很可能你的数据源已经增长到无法运行当前查询的程度,导致超时。 你可以通过减小数据源的大小,或者修改查询以仅处理数据的一部分来解决这个问题。

Issue 1001​

The database is under an unusual load.

你的查询可能因为数据库引擎异常高负载而超时。 你可以简化查询,或者等到数据库负载较小时再尝试。

Issue 1002​

The database returned an unexpected error.

你的查询因为数据库中发生的错误而失败。 这可能是由于语法错误、查询中的 bug,或是数据库内部的其他故障。 这通常不是 Superset 本身的问题,而是底层数据库服务查询时的问题。

Issue 1003​

There is a syntax error in the SQL query. Perhaps there was a misspelling or a typo.

你的查询因为底层查询中的语法错误而失败。 请验证查询中引用的所有列或表是否存在且拼写正确。

Issue 1004​

The column was deleted or renamed in the database.

你的查询因为引用了底层数据源中已不存在的列而失败。你应该修改查询以引用替代列,或从查询中删除该列。

Issue 1005​

The table was deleted or renamed in the database.

你的查询因为引用了底层数据库中已不存在的表而失败。你应该修改查询以引用正确的表。

Issue 1006​

One or more parameters specified in the query are missing.

你的查询没有提交给数据库,因为它缺少一个或多个参数。 你应该在有效的 JSON 文档中定义查询中引用的所有参数。 检查参数是否拼写正确,以及文档是否有有效的语法。

Issue 1007​

The hostname provided can't be resolved.

添加新数据库时提供的主机名无效,无法解析。请检查主机名中没有拼写错误。

Issue 1008​

The port is closed.

添加新数据库时提供的端口未打开。请检查端口号是否正确,以及数据库是否正在运行并监听该端口。

Issue 1009​

The host might be down, and cannot be reached on the provided port.

添加新数据库时提供的主机似乎没有运行。此外,在提供的端口上也无法访问它。请检查没有防火墙规则阻止访问主机。

Issue 1010​

Superset encountered an error while running a command.

发生了意外情况,Superset 在执行命令时遇到了错误。请联系管理员。

Issue 1011​

Superset encountered an unexpected error.

Superset 后端发生了意外情况。请联系管理员。

Issue 1012​

The username provided when connecting to a database is not valid.

用户提供的用户名在数据库中不存在。请检查用户名是否正确输入,并存在于数据库中。

Issue 1013​

The password provided when connecting to a database is not valid.

用户提供的密码不正确。请检查密码是否正确输入。

Issue 1014​

Either the username or the password used are incorrect.

提供的用户名不存在或密码输入有误。请检查用户名和密码是否正确输入。

Issue 1015​

Either the database is spelled incorrectly or does not exist.

数据库名称输入有误或数据库不存在。检查是否正确输入。

Issue 1016​

The schema was deleted or renamed in the database.

数据库名称输入有误或数据库不存在。检查是否正确输入。

Issue 1017​

The user doesn't have the proper permissions to connect to the database

我们无法连接到你的数据库。请确认你的服务帐户在项目上具有 Viewer 和 Job User 角色。

Issue 1018​

One or more parameters needed to configure a database are missing.

测试、创建或编辑数据库所需的所有参数都未出现。请再次检查哪些参数是必需的,并确保它们存在。

Issue 1019​

The submitted payload has the incorrect format.

请检查请求的有效载荷是否具有正确的格式(例如,JSON )。

Issue 1020​

The submitted payload has the incorrect schema.

请检查请求的有效载荷是否具有预期的模式。

Issue 1021​

Results backend needed for asynchronous queries is not configured.

你的 Superset 实例没有配置结果后端,这是异步查询所需的。请联系管理员寻求进一步的帮助。

Issue 1022​

Database does not allow data manipulation.

只允许对这个数据库执行SELECT语句。如果你需要在这个数据库上运行DML(数据操作语言),请联系管理员。

Issue 1023​

CTAS (create table as select) doesn't have a SELECT statement at the end.

在作为 CTAS(create table as select)运行的查询中,最后一个语句必须是 SELECT 语句。 请确保查询中的最后一个语句是 SELECT。

Issue 1024​

CVAS (create view as select) query has more than one statement.

当运行 CVAS(create view as select)时,查询应只有一个语句。 请确保查询只有一个语句,除了最后一个之外没有多余的分号。

Issue 1025​

CVAS (create view as select) query is not a SELECT statement.

当运行 CVAS(create view as select)时,查询应为 SELECT 语句。 请确保查询只有一个语句,并且它是 SELECT 语句。

Issue 1026​

Query is too complex and takes too long to run.

提交的查询可能过于复杂,无法在 Superset 管理员定义的时间限制内运行。请再次检查你的查询并验证是否可以优化。或者,联系管理员增加超时期限。

Issue 1027​

The database is currently running too many queries.

数据库可能处于高负载状态,运行过多的查询。请稍后再试,或联系管理员寻求进一步的帮助。

Issue 1028​

One or more parameters specified in the query are malformed.

查询包含一个或多个格式错误的模板参数。请检查你的查询并确认所有模板参数都被双大括号包围,例如,"{{ ds }}"。然后,再次运行你的查询。

Issue 1029​

The object does not exist in this database.

要么模式、列,要么表在数据库中不存在。

Issue 1030​

The query potentially has a syntax error.

查询可能有语法错误。请检查并重新运行。

Issue 1031​

The results backend no longer has the data from the query.

查询的结果可能在一段时间后从结果后端被删除。请重新运行你的查询。

Issue 1032​

The query associated with the results was deleted.

与存储结果相关的查询不再存在。请重新运行你的查询。

Issue 1033​

The results stored in the backend were stored in a different format, and no longer can be deserialized.

查询结果以不再支持的格式存储。请重新运行你的查询。

Issue 1034​

The database port provided is invalid.

请检查提供的数据库端口是否为 0 到 65535(含)之间的整数。

Issue 1035​

Failed to start remote query on a worker.

查询未由异步 worker 启动。请联系管理员寻求进一步的帮助。

Issue 1036​

The database was deleted.

操作失败,因为引用的数据库不再存在。请联系管理员寻求进一步的帮助。