doris-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-doris] morningman commented on a change in pull request #1289: Modify colocation creation logic
Date Fri, 14 Jun 2019 08:04:13 GMT
morningman commented on a change in pull request #1289: Modify colocation creation logic
URL: https://github.com/apache/incubator-doris/pull/1289#discussion_r293699858
 
 

 ##########
 File path: fe/src/main/java/org/apache/doris/http/meta/ColocateMetaService.java
 ##########
 @@ -54,8 +58,11 @@
 
     private static ColocateTableIndex colocateIndex = Catalog.getCurrentColocateIndex();
 
-    private static long checkAndGetGroupId(BaseRequest request) throws DdlException {
-        long groupId = Long.valueOf(request.getSingleParameter(GROUP_ID).trim());
+    private static GroupId checkAndGetGroupId(BaseRequest request) throws DdlException {
+        long grpId = Long.valueOf(request.getSingleParameter(GROUP_ID).trim());
+        long dbId = Long.valueOf(request.getSingleParameter(DB_ID).trim());
+        GroupId groupId = new GroupId(dbId, grpId);
+
 
 Review comment:
   Yes´╝îI will do it later~

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@doris.apache.org
For additional commands, e-mail: dev-help@doris.apache.org


Mime
View raw message