zhangm365 commented on PR #33610:
URL: https://github.com/apache/doris/pull/33610#issuecomment-2320352624

   > `id->name`? why do I notice the code in 
`fe/fe-core/src/main/java/org/apache/doris/common/util/Util.java`:
   > 
   > ```java
   > public static long genIdByName(String... names) {
   >     return Math.abs(sha256long(String.join(".", names)));
   > }
   > ```
   > 
   > So, Is it the corresponding relationship `name->id`? Or, when does the 
mean `id->name` in this case? @morningman
   
   The `name` is a combination of catalog and database. Then, the ID is 
generated by the name.


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