bw-chuxin opened a new issue, #6722:
URL: https://github.com/apache/gravitino/issues/6722

   ### What would you like to be improved?
   
   When creating a table on Doris, if the parameter "replication_num" is not 
set, the system will report the following error:
   ```shell
    Failed to get the number of backend servers. 
   ```
   The reason for the error is that if the "replication_num" parameter is not 
set, the system will query the number of BEs through the following statement: 
   ```sql
   select count(*) from information_schema.backends where Alive = 'true'
   ```
   but the table information_schema.backends does not exist in Doris 2.1 version
   
   ### How should we improve?
   
   1. When creates a table  Doris  directly, the "replication_num" parameter is 
not a required parameter.  so Is it necessary to perform validation?
   2. If validation is indeed necessary, can the number of BEs be obtained 
through "show backends" or other methods compatible with various versions?


-- 
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]

Reply via email to