| 1 | #include "duckdb/planner/operator/logical_distinct.hpp" |
|---|---|
| 2 | #include "duckdb/common/string_util.hpp" |
| 3 | |
| 4 | using namespace duckdb; |
| 5 | using namespace std; |
| 6 | |
| 7 | using namespace duckdb; |
| 8 | using namespace std; |
| 9 | |
| 10 | string LogicalDistinct::ParamsToString() const { |
| 11 | string result = LogicalOperator::ParamsToString(); |
| 12 | if (distinct_targets.size() > 0) { |
| 13 | result += "["; |
| 14 | StringUtil::Join(distinct_targets, distinct_targets.size(), ", ", |
| 15 | [](const unique_ptr<Expression> &child) { return child->GetName(); }); |
| 16 | result += "]"; |
| 17 | } |
| 18 | |
| 19 | return result; |
| 20 | } |
| 21 |