duckdb 0.3.5-dev317.0 → 0.3.5-dev329.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,7 +1,7 @@
1
1
  {
2
2
  "name": "duckdb",
3
3
  "main": "./lib/duckdb.js",
4
- "version": "0.3.5-dev317.0",
4
+ "version": "0.3.5-dev329.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -50336,13 +50336,9 @@ static bool TimestampTzCastSwitch(Vector &source, Vector &result, idx_t count, s
50336
50336
  // timestamp with time zone to varchar
50337
50337
  VectorStringCast<timestamp_t, duckdb::StringCastTZ>(source, result, count);
50338
50338
  break;
50339
- case LogicalTypeId::DATE:
50340
- // timestamp with time zone to date
50341
- UnaryExecutor::Execute<timestamp_t, date_t, duckdb::Cast>(source, result, count);
50342
- break;
50343
- case LogicalTypeId::TIME:
50344
50339
  case LogicalTypeId::TIME_TZ:
50345
- // timestamp with time zone to time
50340
+ // timestamp with time zone to time with time zone.
50341
+ // TODO: set the offset to +00
50346
50342
  UnaryExecutor::Execute<timestamp_t, dtime_t, duckdb::Cast>(source, result, count);
50347
50343
  break;
50348
50344
  case LogicalTypeId::TIMESTAMP:
@@ -104432,7 +104428,7 @@ static unique_ptr<FunctionData> ReadCSVBind(ClientContext &context, TableFunctio
104432
104428
  if (val.type().id() != LogicalTypeId::VARCHAR) {
104433
104429
  throw BinderException("read_csv requires a type specification as string");
104434
104430
  }
104435
- return_types.emplace_back(TransformStringToLogicalTypeId(StringValue::Get(val)));
104431
+ return_types.emplace_back(TransformStringToLogicalType(StringValue::Get(val)));
104436
104432
  }
104437
104433
  if (names.empty()) {
104438
104434
  throw BinderException("read_csv requires at least a single column as input!");
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 "788ae8e11"
15
- #define DUCKDB_VERSION "v0.3.5-dev317"
14
+ #define DUCKDB_SOURCE_ID "9462bc223"
15
+ #define DUCKDB_VERSION "v0.3.5-dev329"
16
16
  //===----------------------------------------------------------------------===//
17
17
  // DuckDB
18
18
  //