Skip to content

Commit 9acb564

Browse files
committed
vendor: Update vendored sources to duckdb/duckdb@fba0ffe
[BugFix]: Swap join children, not left and right set (duckdb/duckdb#16487) bump sqlsmith extension tag (duckdb/duckdb#16488) Bump `postgres_scanner` and `fts` extensions (duckdb/duckdb#16492) [tests] Multiple FORMAT in copy, only last one matters (duckdb/duckdb#16493) [Python Dev] `pyproject.toml` should not use `oldest-supported-numpy` anymore (duckdb/duckdb#16486) Fixed reading piped JSON (duckdb/duckdb#16480)
1 parent 4811c5d commit 9acb564

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/duckdb/src/function/table/version/pragma_version.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#ifndef DUCKDB_PATCH_VERSION
2-
#define DUCKDB_PATCH_VERSION "1-dev226"
2+
#define DUCKDB_PATCH_VERSION "1-dev241"
33
#endif
44
#ifndef DUCKDB_MINOR_VERSION
55
#define DUCKDB_MINOR_VERSION 2
@@ -8,10 +8,10 @@
88
#define DUCKDB_MAJOR_VERSION 1
99
#endif
1010
#ifndef DUCKDB_VERSION
11-
#define DUCKDB_VERSION "v1.2.1-dev226"
11+
#define DUCKDB_VERSION "v1.2.1-dev241"
1212
#endif
1313
#ifndef DUCKDB_SOURCE_ID
14-
#define DUCKDB_SOURCE_ID "28b8a398a4"
14+
#define DUCKDB_SOURCE_ID "fba0ffea7e"
1515
#endif
1616
#include "duckdb/function/table/system_functions.hpp"
1717
#include "duckdb/main/database.hpp"

src/duckdb/src/optimizer/join_order/query_graph_manager.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,6 @@ GenerateJoinRelation QueryGraphManager::GenerateJoins(vector<unique_ptr<LogicalO
265265
break;
266266
}
267267
}
268-
269268
auto join = make_uniq<LogicalComparisonJoin>(chosen_filter->join_type);
270269
// Here we optimize build side probe side. Our build side is the right side
271270
// So the right plans should have lower cardinalities.
@@ -288,8 +287,9 @@ GenerateJoinRelation QueryGraphManager::GenerateJoins(vector<unique_ptr<LogicalO
288287
bool invert = !JoinRelationSet::IsSubset(*left.set, *f->left_set);
289288
// If the left and right set are inverted AND it is a semi or anti join
290289
// swap left and right children back.
290+
291291
if (invert && (f->join_type == JoinType::SEMI || f->join_type == JoinType::ANTI)) {
292-
std::swap(left, right);
292+
std::swap(join->children[0], join->children[1]);
293293
invert = false;
294294
}
295295

0 commit comments

Comments
 (0)