qidaye opened a new issue, #29318: URL: https://github.com/apache/doris/issues/29318
### 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 master ### What's Wrong? `not_null_or_empty` not working ### What You Expected? Working. ### How to Reproduce? 1. curl -sXPUT localhost:29200/test?pretty -H 'Content-Type:application/json' -d'{"settings":{"number_of_shards":1, "number_of_replicas":0},"mappings":{"properties":{"message":{"type":"text"}}}}' 2. curl -sXPUT localhost:9200/test/_doc/1?pretty -H'Content-Type:application/json' -d'{"id":1}' 3. curl -sXPUT localhost:9200/test/_doc/1?pretty -H'Content-Type:application/json' -d'{"id":2, "message":""}' 4. curl -sXPUT localhost:9200/test/_doc/1?pretty -H'Content-Type:application/json' -d'{"id":3, "message":"not null or empty"}' 5. CREATE CATALOG es PROPERTIES ( "type"="es", "hosts"="http://127.0.0.1:9200/" ); 6. select message from test_v1 where message != ''; 7. select message from test_v1 where message is not null; 8. select message from test_v1 where not_null_or_empty(message); not_null_or_empty can not filter null or empty. ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
