Skip to content

Commit f488eea

Browse files
leostimpfleevertlammerts
authored andcommitted
Close #468
1 parent 94733ba commit f488eea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/duckdb_py/pyrelation.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1551,7 +1551,7 @@ unique_ptr<DuckDBPyRelation> DuckDBPyRelation::Query(const string &view_name, co
15511551
if (statement.type == StatementType::SELECT_STATEMENT) {
15521552
auto select_statement = unique_ptr_cast<SQLStatement, SelectStatement>(std::move(parser.statements[0]));
15531553
auto query_relation = make_shared_ptr<QueryRelation>(rel->context->GetContext(), std::move(select_statement),
1554-
sql_query, "query_relation");
1554+
"query_relation_" + StringUtil::GenerateRandomName(16), sql_query);
15551555
return DeriveRelation(std::move(query_relation));
15561556
} else if (IsDescribeStatement(statement)) {
15571557
auto query = PragmaShow(view_name);

0 commit comments

Comments
 (0)