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

   ### 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?
   
   ```
   mysql> switch es8;
   Query OK, 0 rows affected (0.23 sec)
   
   mysql> show catalogs;
   +-----------+-------------+----------+-----------+
   | CatalogId | CatalogName | Type     | IsCurrent |
   +-----------+-------------+----------+-----------+
   |     12025 | es          | es       |           |
   |     12092 | es8         | es       | yes       |
   |     12089 | es88        | es       |           |
   |         0 | internal    | internal |           |
   +-----------+-------------+----------+-----------+
   4 rows in set (0.00 sec)
   
   mysql> show tables;
   ERROR 1105 (HY000): DorisEsException, msg: 
org.apache.doris.external.elasticsearch.DorisEsException: get es indexes error
   ```
   
   ### What You Expected?
   
   Normal.
   
   ### How to Reproduce?
   
   1. create es catalog with resource 
   ```sql
   CREATE RESOURCE es823_resource PROPERTIES (
       "type"="es",
       "hosts"="http://127.0.0.1:9207";,
       "nodes_discovery"="false",
       "username"="elastic",
       "password"="123456",
       "ssl"="true"
   );
   CREATE CATALOG es8 WITH RESOURCE es823_resource;
   ```
   2. switch and show table
   ```sql
   switch es8;
   show tables; 
   ```
   
   ### 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]

Reply via email to