From e7060a0ecc5d2d20156bd16ea7f4ccfba9535c04 Mon Sep 17 00:00:00 2001 From: dtenwolde Date: Thu, 15 Feb 2024 15:00:55 +0100 Subject: [PATCH] Changed SubqueryRef to SubqueryExpression --- duckpgq/include/duckpgq/functions/tablefunctions/match.hpp | 2 +- duckpgq/src/duckpgq/functions/tablefunctions/match.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp b/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp index aa2cd542..fcc85920 100644 --- a/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp +++ b/duckpgq/include/duckpgq/functions/tablefunctions/match.hpp @@ -58,7 +58,7 @@ struct PGQMatchFunction : public TableFunction { static unique_ptr CreateCountCTESubquery(); - static unique_ptr + static unique_ptr CreateCSRCTE(const shared_ptr &edge_table, const string &edge_binding, const string &prev_binding, const string &next_binding); diff --git a/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp b/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp index 35a48546..ca6ca6f7 100644 --- a/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp +++ b/duckpgq/src/duckpgq/functions/tablefunctions/match.cpp @@ -237,7 +237,7 @@ unique_ptr PGQMatchFunction::CreateCountCTESubquery() { return temp_cte_select_subquery; } -unique_ptr +unique_ptr PGQMatchFunction::CreateCSRCTE(const shared_ptr &edge_table, const string &prev_binding, const string &edge_binding, @@ -355,7 +355,7 @@ PGQMatchFunction::CreateCSRCTE(const shared_ptr &edge_table, auto outer_select_statement = make_uniq(); outer_select_statement->node = std::move(outer_select_node); - auto csr_subquery = make_uniq(); + auto csr_subquery = make_uniq(); csr_subquery->subquery = std::move(outer_select_statement); return csr_subquery; }