Skip to content

Commit d3dc8d6

Browse files
hanneskrlmlr
authored andcommitted
When projecting, use GetName instead of ToString()
- Merge pull request duckdb/duckdb#8717 from Tmonster/projection_quoted_columns - Indent tests, was part of of the following PRs which otherwise cancel themselves out: - Merge pull request duckdb/duckdb#8600 from krlmlr/b-altrep-unwind: R: Fix core dump when failing to evaluate ALTREP query - Merge pull request duckdb/duckdb#8647 from krlmlr/b-altrep-cpp11-wrap: Wrap ALTREP methods with BEGIN_CPP11 and END_CPP11 - Merge pull request duckdb/duckdb#8207 from krlmlr/b-copy-string: R: Avoid crash when finalizing - Merge pull request duckdb/duckdb#8272 from krlmlr/b-warn-copy: Remove dangerous overload of cpp11::warning()
1 parent 6136364 commit d3dc8d6

File tree

2 files changed

+501
-453
lines changed

2 files changed

+501
-453
lines changed

src/relational.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ external_pointer<T> make_external_prot(const string &rclass, SEXP prot, ARGS &&.
172172

173173
for (expr_extptr_t expr : exprs) {
174174
auto dexpr = expr->Copy();
175-
aliases.push_back(dexpr->alias.empty() ? dexpr->ToString() : dexpr->alias);
175+
aliases.push_back(dexpr->GetName());
176176
projections.push_back(std::move(dexpr));
177177
}
178178

0 commit comments

Comments
 (0)