这个报表是从服务器导入到单机的,现在已经把数据集和离线数据都下载并导入了,但预览报表时还是出现这个错误。在服务器上报表是正常的,不知道应该怎么解决了!
执行数据失败: Related Dashboard: '预览: 财务案例20220121110727-117' Related Query: '同比环比计算数据集' Related Element: '净利润环比' Run user: 'admin'
Caused by: java.sql.SQLException 执行SQL失败:“VooltDB exception, code: 62, host: 127.0.0.1, port: 8749; DB::Exception: Syntax error: failed at position 57 ('(') (line 2, col 16): ("assets_total") AS "LONG_COL_0"
FROM "default"."qry_Dbde37349__6ae907b6.同比环比计算数据集"
WHERE ( "FirstClassCompanyName" = '环保' ) AND . Expected one of: end of query, INTO OUTFILE, FORMAT, SETTINGS, UNION, FINAL, SAMPLE, LEFT ARRAY JOIN, INNER, ARRAY JOIN, JOIN, table, table function, subquery or list of joined tables, array join, PREWHERE, WHERE, GROUP BY, WITH, HAVING, WINDOW, ORDER BY, LIMIT, SETTINGS, OFFSET (version 21.3.5.42)
”
|