duckdb 0.3.5-dev1297.0 → 0.3.5-dev1328.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 +1 -1
- package/src/duckdb.cpp +3 -3
- package/src/duckdb.hpp +596 -596
- package/src/parquet-amalgamation.cpp +36904 -36904
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -166050,11 +166050,11 @@ SchemaCatalogEntry *Binder::BindSchema(CreateInfo &info) {
|
|
|
166050
166050
|
void Binder::BindCreateViewInfo(CreateViewInfo &base) {
|
|
166051
166051
|
// bind the view as if it were a query so we can catch errors
|
|
166052
166052
|
// note that we bind the original, and replace the original with a copy
|
|
166053
|
-
|
|
166054
|
-
|
|
166053
|
+
auto view_binder = Binder::CreateBinder(context);
|
|
166054
|
+
view_binder->can_contain_nulls = true;
|
|
166055
166055
|
|
|
166056
166056
|
auto copy = base.query->Copy();
|
|
166057
|
-
auto query_node = Bind(*base.query);
|
|
166057
|
+
auto query_node = view_binder->Bind(*base.query);
|
|
166058
166058
|
base.query = unique_ptr_cast<SQLStatement, SelectStatement>(move(copy));
|
|
166059
166059
|
if (base.aliases.size() > query_node.names.size()) {
|
|
166060
166060
|
throw BinderException("More VIEW aliases than columns in query result");
|