sunny19930321 opened a new issue, #40406: URL: https://github.com/apache/doris/issues/40406
### Search before asking - [X] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues. ### Version 2.1.6 ### What's Wrong? ERROR 1105 (HY000): errCode = 2, detailMessage = (9.134.114.29)[CANCELLED]Expected value of type: STRING; but found type: Array; Document slice is : [] ### What You Expected? normal query ### How to Reproduce? create es index ``` curl -XPUT -u elastic:Admin@123 "http://******:9200/es_table1" -H "Content-Type:application/json" -d '{ "settings": { "number_of_shards": 1, "number_of_replicas": 0, "index": { "max_result_window": 864000000 } }, "mappings": { "dynamic": "true", "properties": { "id": { "type": "long" }, "uuid": { "type": "keyword" }, "version": { "type": "keyword" }, "reserve": { "type": "keyword" } } } }' ``` query es data, version fields exist as arrays and strings ``` curl -X GET -u elastic:Admin@123 "http://21.6.181.210:9200/es_table1/_search?pretty" { "took" : 0, "timed_out" : false, "_shards" : { "total" : 1, "successful" : 1, "skipped" : 0, "failed" : 0 }, "hits" : { "total" : { "value" : 3, "relation" : "eq" }, "max_score" : 1.0, "hits" : [ { "_index" : "es_table1", "_type" : "_doc", "_id" : "1", "_score" : 1.0, "_source" : { "id" : 0 } }, { "_index" : "es_table1", "_type" : "_doc", "_id" : "2", "_score" : 1.0, "_source" : { "id" : 1, "uuid" : "111", "version": "1111" } }, { "_index" : "es_table1", "_type" : "_doc", "_id" : "3", "_score" : 1.0, "_source" : { "id" : 2, "uuid" : "[]", "version" : [ ], "reserve" : [ ] } } ] } } ``` create catalog ``` CREATE CATALOG `es_catalog2` PROPERTIES ( "password" = "Admin@123", "mapping_es_id" = "true", "type" = "es", "user" = "elastic", "hosts" = "http://****:9200", "nodes_discovery"='false' ); mysql> select * from es_catalog1.default_db.es_table1; ERROR 1105 (HY000): errCode = 2, detailMessage = (9.134.114.29)[CANCELLED]Expected value of type: STRING; but found type: Array; Document slice is : [] ``` ### Anything Else? _No response_ ### Are you willing to submit PR? - [X] Yes I am willing to submit a PR! ### Code of Conduct - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org For additional commands, e-mail: commits-h...@doris.apache.org