qidaye opened a new issue, #27043:
URL: https://github.com/apache/doris/issues/27043

   ### 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
   
   1.2.7.1
   
   ### What's Wrong?
   
   ```
   errCode = 2, detailMessage = (192.168.12.128)[INTERNAL_ERROR]Unable to find 
_ZN5doris18TimestampFunctions11date_formatEPN9doris_udf15FunctionContextERKNS1_11DateTimeV2ValERKNS1_9StringValE
   dlerror: /apps/doris/be/lib/doris_be: undefined symbol: 
_ZN5doris18TimestampFunctions11date_formatEPN9doris_udf15FunctionContextERKNS1_11DateTimeV2ValERKNS1_9StringValE;
   ```
   
   ### What You Expected?
   
   Query result nomally.
   
   ### How to Reproduce?
   
   1. `docker run -p 9200:9200 -p 9300:9300 -e "discovery.type=single-node" 
docker.elastic.co/elasticsearch/elasticsearch:7.2.0`
   2.
   ```
   curl -sXPUT localhost:9200/test_mapping -H'Content-Type:application/json' -d'
   {
                "mappings": {
                        "properties": {
                                "timestamp": {
                                        "type": "date"
                                }
                        }
                }
        
   }'
   
   
   curl -sXPUT localhost:9200/test_mapping/_doc/1 
-H'Content-Type:application/json' -d'
   {
        "timestamp": "2023-10-26T00:03:15.086Z"
        
   }'
   ```
   3. `CREATE CATALOG es PROPERTIES ( "type"="es", 
"hosts"="http://127.0.0.1:9200"; );`
   
   4. `select * from es.default_db.test_mapping where date_format(timestamp 
,'%Y-%m-%d %H:%i:%S') >= NOW() - INTERVAL 2000 DAY limit 1;`
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] 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]

Reply via email to