本帖最后由 yhdata_eFUZ276y 于 2022-6-24 11:18 编辑
组件绑定数据apply_time :
数据集:
错误信息:
执行数据失败:java.lang.Exception: Related Dashboard: '预览: xxx报表20220624092xxx-216' Related Query: 'ecf_department_handling_fee' Related Element: '贷款申请日期' Run user: 'm*****a'
Caused by: java.lang.RuntimeException Received invalid response! Http Status Code: 400, {"error":{"root_cause":[{"type":"ql_illegal_argument_exception","reason":"cannot cast [2019-6-27T00:00:00] to [datetime]: Text '2019-6-27T00:00:00' could not be parsed at index 5"}],"type":"search_phase_execution_exception","reason":"all shards failed","phase":"query","grouped":true,"failed_shards":[{"shard":0,"index":"ecf_department_handling_fee","node":"PAh9PZnDRqaar3_zicqtig","reason":{"type":"script_exception","reason":"runtime error","script_stack":["org.elasticsearch.xpack.ql.type.DataTypeConverter$DefaultConverter.lambda$fromString$21(DataTypeConverter.java:481)","org.elasticsearch.xpack.ql.type.DataTypeConverter$DefaultConverter.convert(DataTypeConverter.java:503)","org.elasticsearch.xpack.sql.type.SqlDataTypeConverter.convert(SqlDataTypeConverter.java:344)","org.elasticsearch.xpack.sql.expression.function.scalar.whitelist.InternalSqlScriptUtils.cast(InternalSqlScriptUtils.java:513)","InternalSqlScriptUtils.cast(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.cast(InternalSqlScriptUtils.dateTimeExtract(InternalQlScriptUtils.docValue(doc,params.v0), params.v1, params.v2),params.v3),params.v4),InternalSqlScriptUtils.concat(InternalSqlScriptUtils.cast(InternalSqlScriptUtils.dateTimeExtract(InternalQlScriptUtils.docValue(doc,params.v5), params.v6, params.v7),params.v8),params.v9)),InternalSqlScriptUtils.concat(InternalSqlScriptUtils.cast(InternalSqlScriptUtils.dateTimeExtract(InternalQlScriptUtils.docValue(doc,params.v10), params.v11, params.v12),params.v13),params.v14)),params.v15)"," ^---- HERE"],"script":"InternalSqlScriptUtils.cast(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.concat(InternalSqlScriptUtils.cast(InternalSqlScriptUtils.dateTimeExtract(InternalQlScriptUtils.docValue(doc,params.v0), params.v1, params.v2),pa ...","lang":"painless","position":{"offset":665,"start":0,"end":670},"caused_by":{"type":"ql_illegal_argument_exception","reason":"cannot cast [2019-6-27T00:00:00] to [datetime]: Text '2019-6-27T00:00:00' could not be parsed at index 5","caused_by":{"type":"date_time_parse_exception","reason":"Text '2019-6-27T00:00:00' could not be parsed at index 5"}}}}],"caused_by":{"type":"ql_illegal_argument_exception","reason":"cannot cast [2019-6-27T00:00:00] to [datetime]: Text '2019-6-27T00:00:00' could not be parsed at index 5","caused_by":{"type":"date_time_parse_exception","reason":"Text '2019-6-27T00:00:00' could not be parsed at index 5"}}},"status":400}
|