/src/duckdb/src/planner/expression/bound_subquery_expression.cpp
Line | Count | Source (jump to first uncovered line) |
1 | | #include "duckdb/planner/expression/bound_subquery_expression.hpp" |
2 | | |
3 | | #include "duckdb/common/exception.hpp" |
4 | | |
5 | | namespace duckdb { |
6 | | |
7 | | BoundSubqueryExpression::BoundSubqueryExpression(LogicalType return_type) |
8 | 107k | : Expression(ExpressionType::SUBQUERY, ExpressionClass::BOUND_SUBQUERY, std::move(return_type)) { |
9 | 107k | } |
10 | | |
11 | 111 | string BoundSubqueryExpression::ToString() const { |
12 | 111 | return "SUBQUERY"; |
13 | 111 | } |
14 | | |
15 | 0 | bool BoundSubqueryExpression::Equals(const BaseExpression &other_p) const { |
16 | | // equality between bound subqueries not implemented currently |
17 | 0 | return false; |
18 | 0 | } |
19 | | |
20 | 0 | unique_ptr<Expression> BoundSubqueryExpression::Copy() const { |
21 | 0 | throw SerializationException("Cannot copy BoundSubqueryExpression"); |
22 | 0 | } |
23 | | |
24 | 0 | bool BoundSubqueryExpression::PropagatesNullValues() const { |
25 | | // TODO this can be optimized further by checking the actual subquery node |
26 | 0 | return false; |
27 | 0 | } |
28 | | |
29 | | } // namespace duckdb |