问题代码参考
本页列出了 Superset 中可能显示的问题代码,并提供了额外上下文。
问题 1000
The datasource is too large to query.
您的数据源可能已变得过大,无法运行当前查询,导致超时。您可以通过减小数据源的大小或修改查询以仅处理数据子集来解决此问题。
问题 1001
The database is under an unusual load.
您的查询可能因为数据库引擎负载异常高而超时。您可以简化查询,或者等待数据库负载较低时再试。
问题 1002
The database returned an unexpected error.
您的查询因数据库中发生的错误而失败。这可能是由于语法错误、查询中的错误,或数据库内部的其他故障。这通常不是 Superset 内部的问题,而是为您的查询提供服务的底层数据库的问题。
问题 1003
There is a syntax error in the SQL query. Perhaps there was a misspelling or a typo.
您的查询因底层查询中的语法错误而失败。请验证查询中引用的所有列或表都存在且拼写正确。
问题 1004
The column was deleted or renamed in the database.
您的查询失败,因为它引用了底层数据源中不再存在的列。您应该修改查询以引用替换列,或从查询中移除此列。
问题 1005
The table was deleted or renamed in the database.
您的查询失败,因为它引用了底层数据库中不再存在的表。您应该修改查询以引用正确的表。
问题 1006
One or more parameters specified in the query are missing.
您的查询未提交到数据库,因为它缺少一个或多个参数。您应该在一个有效的 JSON 文档中定义查询中引用的所有参数。请检查参数拼写是否正确以及文档是否具有有效的语法。
问题 1007
The hostname provided can't be resolved.
添加新数据库时提供的主机名无效且无法解析。请检查主机名中是否有拼写错误。
问题 1008
The port is closed.
添加新数据库时提供的端口未打开。请检查端口号是否正确,以及数据库是否正在运行并监听该端口。
问题 1009
The host might be down, and cannot be reached on the provided port.
添加新数据库时提供的主机似乎未启动。此外,无法通过提供的端口访问它。请检查是否存在阻止访问主机的防火墙规则。
问题 1010
Superset encountered an error while running a command.
发生了意外情况,Superset 在运行命令时遇到错误。请联系您的管理员。
问题 1011
Superset encountered an unexpected error.
Superset 后端发生了意外情况。请联系您的管理员。
问题 1012
The username provided when connecting to a database is not valid.
用户提供的用户名在数据库中不存在。请检查用户名是否输入正确并存在于数据库中。
问题 1013
The password provided when connecting to a database is not valid.
用户提供的密码不正确。请检查密码是否输入正确。
问题 1014
Either the username or the password used are incorrect.
提供的用户名不存在或密码输入不正确。请检查用户名和密码是否输入正确。
问题 1015
Either the database is spelled incorrectly or does not exist.
数据库名称输入不正确或数据库不存在。请检查是否输入正确。
问题 1016
The schema was deleted or renamed in the database.
架构已被删除或重命名。请检查架构是否输入正确且存在。
问题 1017
The user doesn't have the proper permissions to connect to the database
我们无法连接到您的数据库。请确认您的服务帐户在该项目中拥有 Viewer 和 Job User 角色。
问题 1018
One or more parameters needed to configure a database are missing.
测试、创建或编辑数据库所需的所有参数均未提供。请仔细检查需要哪些参数,并确认它们都已提供。
问题 1019
The submitted payload has the incorrect format.
请检查请求负载是否格式正确(例如,JSON)。
问题 1020
The submitted payload has the incorrect schema.
请检查请求负载是否具有预期的架构。
问题 1021
Results backend needed for asynchronous queries is not configured.
您的 Superset 实例未配置结果后端,异步查询需要此配置。请联系管理员以获得进一步帮助。
问题 1022
Database does not allow data manipulation.
此数据库只允许 SELECT
语句。如果您需要在此数据库上运行 DML(数据操纵语言),请联系管理员。
问题 1023
CTAS (create table as select) doesn't have a SELECT statement at the end.
以 CTAS(create table as select)运行的查询中的最后一条语句必须是 SELECT 语句。请确保查询中的最后一条语句是 SELECT。
问题 1024
CVAS (create view as select) query has more than one statement.
当以 CVAS(create view as select)运行查询时,查询应只包含一条语句。请确保查询只有一条语句,并且除了最后一条之外没有多余的分号。
问题 1025
CVAS (create view as select) query is not a SELECT statement.
当以 CVAS(create view as select)运行查询时,查询应为 SELECT 语句。请确保查询只有一条语句且是 SELECT 语句。
问题 1026
Query is too complex and takes too long to run.
提交的查询可能过于复杂,无法在您的 Superset 管理员定义的时间限制内运行。请仔细检查您的查询并验证是否可以对其进行优化。或者,联系您的管理员以延长超时时间。
问题 1027
The database is currently running too many queries.
数据库可能负载过重,正在运行太多查询。请稍后重试,或联系管理员以获得进一步帮助。
问题 1028
One or more parameters specified in the query are malformed.
查询包含一个或多个格式错误的模板参数。请检查您的查询并确认所有模板参数都用双大括号括起来,例如“{{ ds }}”。然后,尝试再次运行您的查询。
问题 1029
The object does not exist in this database.
架构、列或表在数据库中不存在。
问题 1030
The query potentially has a syntax error.
查询可能存在语法错误。请检查并重新运行。
问题 1031
The results backend no longer has the data from the query.
查询结果可能在一段时间后已从结果后端删除。请重新运行您的查询。
问题 1032
The query associated with the results was deleted.
与存储结果关联的查询不再存在。请重新运行您的查询。
问题 1033
The results stored in the backend were stored in a different format, and no longer can be deserialized.
查询结果以不再支持的格式存储。请重新运行您的查询。
问题 1034
The database port provided is invalid.
请检查提供的数据库端口是否为 0 到 65535(含)之间的整数。
问题 1035
Failed to start remote query on a worker.
查询未由异步工作进程启动。请联系您的管理员以获得进一步帮助。
问题 1036
The database was deleted.
操作失败,因为引用的数据库不再存在。请联系您的管理员以获得进一步帮助。