You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by "BePPPower (via GitHub)" <gi...@apache.org> on 2023/04/27 03:07:21 UTC

[GitHub] [doris] BePPPower commented on a diff in pull request #19110: [fix](Metadata tvf) Metadata TVF supports read the specified columns from Fe

BePPPower commented on code in PR #19110:
URL: https://github.com/apache/doris/pull/19110#discussion_r1178579086


##########
fe/fe-core/src/main/java/org/apache/doris/tablefunction/MetadataGenerator.java:
##########
@@ -257,14 +262,37 @@ private static TFetchSchemaTableDataResult resourceGroupsMetadataResult(TMetadat
             trow.addToColumnValue(new TCell().setStringVal(rGroupsInfo.get(1)));
             trow.addToColumnValue(new TCell().setStringVal(rGroupsInfo.get(2)));
             trow.addToColumnValue(new TCell().setIntVal(value));
-            dataBatch.add(trow);
+            TRow filterRow = filterColumns(trow, params.getColumnsName(), TMetadataType.RESOURCE_GROUPS);

Review Comment:
   done



-- 
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: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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