duckdb 0.5.1-dev128.0 → 0.5.1-dev132.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 +5 -0
- package/src/duckdb.hpp +3 -3
- package/src/parquet-amalgamation.cpp +37055 -37055
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -179985,11 +179985,13 @@ unique_ptr<BoundCreateTableInfo> Binder::BindCreateTableInfo(unique_ptr<CreateIn
|
|
|
179985
179985
|
BindDefaultValues(base.columns, result->bound_defaults);
|
|
179986
179986
|
}
|
|
179987
179987
|
|
|
179988
|
+
idx_t regular_column_count = 0;
|
|
179988
179989
|
// bind collations to detect any unsupported collation errors
|
|
179989
179990
|
for (auto &column : base.columns) {
|
|
179990
179991
|
if (column.Generated()) {
|
|
179991
179992
|
continue;
|
|
179992
179993
|
}
|
|
179994
|
+
regular_column_count++;
|
|
179993
179995
|
if (column.Type().id() == LogicalTypeId::VARCHAR) {
|
|
179994
179996
|
ExpressionBinder::TestCollation(context, StringType::GetCollation(column.Type()));
|
|
179995
179997
|
}
|
|
@@ -180001,6 +180003,9 @@ unique_ptr<BoundCreateTableInfo> Binder::BindCreateTableInfo(unique_ptr<CreateIn
|
|
|
180001
180003
|
result->dependencies.insert(type_dependency);
|
|
180002
180004
|
}
|
|
180003
180005
|
}
|
|
180006
|
+
if (regular_column_count == 0) {
|
|
180007
|
+
throw BinderException("Creating a table without physical (non-generated) columns is not supported");
|
|
180008
|
+
}
|
|
180004
180009
|
properties.allow_stream_result = false;
|
|
180005
180010
|
return result;
|
|
180006
180011
|
}
|
package/src/duckdb.hpp
CHANGED
|
@@ -11,8 +11,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
|
|
|
11
11
|
#pragma once
|
|
12
12
|
#define DUCKDB_AMALGAMATION 1
|
|
13
13
|
#define DUCKDB_AMALGAMATION_EXTENDED 1
|
|
14
|
-
#define DUCKDB_SOURCE_ID "
|
|
15
|
-
#define DUCKDB_VERSION "v0.5.1-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "215d3f707"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.1-dev132"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|
|
@@ -9931,7 +9931,7 @@ public:
|
|
|
9931
9931
|
//! Returns a reference to the column of the specified name. Throws an
|
|
9932
9932
|
//! exception if the column does not exist.
|
|
9933
9933
|
ColumnDefinition &GetColumn(const string &name);
|
|
9934
|
-
//! Returns a list of types of the table
|
|
9934
|
+
//! Returns a list of types of the table, excluding generated columns
|
|
9935
9935
|
vector<LogicalType> GetTypes();
|
|
9936
9936
|
string ToSQL() override;
|
|
9937
9937
|
|