MCPcopy Create free account
hub / github.com/apache/cloudberry / convert_testexpr

Function convert_testexpr

src/backend/optimizer/plan/subselect.c:899–909  ·  view source on GitHub ↗

* convert_testexpr: convert the testexpr given by the parser into * actually executable form. This entails replacing PARAM_SUBLINK Params * with Params or Vars representing the results of the sub-select. The * nodes to be substituted are passed in as the List result from * generate_subquery_params or generate_subquery_vars. */

Source from the content-addressed store, hash-verified

897 * generate_subquery_params or generate_subquery_vars.
898 */
899Node *
900convert_testexpr(PlannerInfo *root,
901 Node *testexpr,
902 List *subst_nodes)
903{
904 convert_testexpr_context context;
905
906 context.root = root;
907 context.subst_nodes = subst_nodes;
908 return convert_testexpr_mutator(testexpr, &context);
909}
910
911static Node *
912convert_testexpr_mutator(Node *node,

Callers 3

make_lasj_qualsFunction · 0.85
build_subplanFunction · 0.85

Calls 1

convert_testexpr_mutatorFunction · 0.85

Tested by

no test coverage detected