jiaqizho commented on code in PR #813:
URL: https://github.com/apache/cloudberry/pull/813#discussion_r1897170411


##########
src/backend/gpopt/translate/CTranslatorDXLToPlStmt.cpp:
##########
@@ -1554,6 +1554,7 @@ CTranslatorDXLToPlStmt::TranslateDXLTvf(
        List *target_list = TranslateDXLProjList(
                project_list_dxlnode, &base_table_context, nullptr, 
output_context);
 
+       target_list = gpdb::ProcessRecordFuncTargetList(((FuncExpr *) 
rtfunc->funcexpr)->funcid, target_list);

Review Comment:
   oh, i guess we can direct get the function ret type?
   
   ```
   IMDId *  func_rtype= tvf_node->ReturnTypeMdId();
   ... then check the func_rtype is the recordid ?
   ``
   



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