文档

Quick BI链接Hologres数据源不填写Schema,生成数据集保存报错: org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near “”

更新时间:
一键部署

问题描述

Quick BI链接Hologres数据源不填写Schema,基于该数据源生成数据集,并进行表关联之后,保存报错: org.postgresql.util.PSQLException: ERROR: zero-length delimited identifier at or near “”。数据集关联如下截图:

完整的报错信息如下:

traceId:aba413a5-c00d-451f-b265-90ef7c634f25;
errMsg:数据源执行SQL失败:INTERNAL: 
java.lang.RuntimeException: SQL execute error by datasource... org.postgresql.util.PSQLException: 
ERROR: zero-length delimited identifier at or near """" 位置:
10856 org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2532) 
org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2267) 
org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:312) 
org.postgresql.jdbc.PgStatement.executeInternal(PgStatement.java:448)
 org.postgresql.jdbc.PgStatement.execute(PgStatement.java:369) 

数据源配置截图如下,没有填写Schema信息:

问题原因

使用不同Schema下的表构建数据集,没设置Schema。导致后台生成的SQL语句中table的Schema为""。

解决方案

为每个Schema创建一个数据源,使用不同schema对应的数据源创建数据集,Quick BI支持跨数据源关联数据集。

适用于

  • Quick
  • 本页导读
文档反馈