wenchaozhang-123 commented on code in PR #813:
URL: https://github.com/apache/cloudberry/pull/813#discussion_r1897208493
##########
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:
I have tried in this way, but it will error report 'ERROR: cache lookup
failed for function 2249 (gpdbwrappers.cpp:1023)', which means function has not
loaded into FuncMd cache. In my opinion, to preloading this FuncMd to cache
maybe more has cost than using ((FuncExpr *) rtfunc->funcexpr)->funcid?
--
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]