elasticsearch-sql icon indicating copy to clipboard operation
elasticsearch-sql copied to clipboard

插件运行时报错

Open helloHaifei opened this issue 1 year ago • 1 comments

ES版本是 { "number": "7.9.3", "build_flavor": "default", "build_type": "tar", "build_hash": "c4138e51121ef06a6404866cddc601906fe5c868", "build_date": "2020-10-16T10:36:16.141335Z", "build_snapshot": false, "lucene_version": "8.6.2", "minimum_wire_compatibility_version": "6.8.0", "minimum_index_compatibility_version": "6.0.0-beta1" } 安装的插件版本是 Version: 7.9.3.0

使用语句 SELECT * FROM kibana_sample_data_ecommerce

请求时返回 {"error":{"root_cause":[{"type":"x_content_parse_exception","reason":"[1:1] [sql/query] failed to parse object"}],"type":"x_content_parse_exception","reason":"[1:1] [sql/query] failed to parse object","caused_by":{"type":"json_parse_exception","reason":"Unrecognized token 'SELECT': was expecting (JSON String, Number, Array, Object or token 'null', 'true' or 'false')\n at [Source: (org.elasticsearch.common.bytes.AbstractBytesReference$MarkSupportingStreamInputWrapper); line: 1, column: 8]"}},"status":400}

helloHaifei avatar Sep 19 '23 06:09 helloHaifei

请求方式麻烦提供一下

shi-yuan avatar Sep 22 '23 00:09 shi-yuan