duckdb 0.2.10-dev466.0 → 0.2.10-dev468.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.2.10-dev466.0",
4
+ "version": "0.2.10-dev468.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -9401,8 +9401,10 @@ static DefaultMacro internal_macros[] = {
9401
9401
  {"pg_catalog", "pg_ts_template_is_visible", {"template_oid", nullptr}, "true"},
9402
9402
  {"pg_catalog", "pg_type_is_visible", {"type_oid", nullptr}, "true"},
9403
9403
 
9404
+ {DEFAULT_SCHEMA, "round_even", {"x", "n", nullptr}, "CASE ((abs(x) * power(10, n+1)) % 10) WHEN 5 THEN round(x/2, n) * 2 ELSE round(x, n) END"},
9405
+ {DEFAULT_SCHEMA, "roundbankers", {"x", "n", nullptr}, "round_even(x, n)"},
9404
9406
  {DEFAULT_SCHEMA, "nullif", {"a", "b", nullptr}, "CASE WHEN a=b THEN NULL ELSE a END"},
9405
- {nullptr, nullptr, {nullptr}, nullptr}};
9407
+ {nullptr, nullptr, {nullptr}, nullptr}};
9406
9408
 
9407
9409
  static unique_ptr<CreateFunctionInfo> GetDefaultFunction(const string &schema, const string &name) {
9408
9410
  for (idx_t index = 0; internal_macros[index].name != nullptr; index++) {
package/src/duckdb.hpp CHANGED
@@ -10,8 +10,8 @@ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLI
10
10
 
11
11
  #pragma once
12
12
  #define DUCKDB_AMALGAMATION 1
13
- #define DUCKDB_SOURCE_ID "aeb9395bd"
14
- #define DUCKDB_VERSION "0.2.10-dev466"
13
+ #define DUCKDB_SOURCE_ID "20ddfa846"
14
+ #define DUCKDB_VERSION "0.2.10-dev468"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //