duckdb 0.6.2-dev2487.0 → 0.6.2-dev2489.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#ifndef DUCKDB_VERSION
|
|
2
|
-
#define DUCKDB_VERSION "0.6.2-
|
|
2
|
+
#define DUCKDB_VERSION "0.6.2-dev2489"
|
|
3
3
|
#endif
|
|
4
4
|
#ifndef DUCKDB_SOURCE_ID
|
|
5
|
-
#define DUCKDB_SOURCE_ID "
|
|
5
|
+
#define DUCKDB_SOURCE_ID "65ea81919f"
|
|
6
6
|
#endif
|
|
7
7
|
#include "duckdb/function/table/system_functions.hpp"
|
|
8
8
|
#include "duckdb/main/database.hpp"
|
|
@@ -281,6 +281,15 @@ void RemoveUnusedColumns::VisitOperator(LogicalOperator &op) {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
return;
|
|
284
|
+
case LogicalOperatorType::LOGICAL_FILTER: {
|
|
285
|
+
auto &filter = (LogicalFilter &)op;
|
|
286
|
+
if (!filter.projection_map.empty()) {
|
|
287
|
+
// if we have any entries in the filter projection map don't prune any columns
|
|
288
|
+
// FIXME: we can do something more clever here
|
|
289
|
+
everything_referenced = true;
|
|
290
|
+
}
|
|
291
|
+
break;
|
|
292
|
+
}
|
|
284
293
|
case LogicalOperatorType::LOGICAL_DISTINCT: {
|
|
285
294
|
// distinct, all projected columns are used for the DISTINCT computation
|
|
286
295
|
// mark all columns as used and continue to the children
|