1#include "duckdb/planner/operator/logical_distinct.hpp"
2#include "duckdb/common/string_util.hpp"
3
4using namespace duckdb;
5using namespace std;
6
7using namespace duckdb;
8using namespace std;
9
10string 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