duckdb 0.3.2-dev173.0 → 0.3.2-dev184.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.2-dev173.0",
4
+ "version": "0.3.2-dev184.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -52154,7 +52154,6 @@ void Node4::Erase(ART &art, unique_ptr<Node> &node, int pos) {
52154
52154
  auto new_length = node->prefix_length + childref->prefix_length + 1;
52155
52155
  //! have to allocate space in our prefix array
52156
52156
  unique_ptr<uint8_t[]> new_prefix = unique_ptr<uint8_t[]>(new uint8_t[new_length]);
52157
- ;
52158
52157
 
52159
52158
  //! first move the existing prefix (if any)
52160
52159
  for (uint32_t i = 0; i < childref->prefix_length; i++) {
@@ -81029,7 +81028,7 @@ bool TryGetDatePartSpecifier(const string &specifier_p, DatePartSpecifier &resul
81029
81028
  result = DatePartSpecifier::DECADE;
81030
81029
  } else if (specifier == "century" || specifier == "centuries") {
81031
81030
  result = DatePartSpecifier::CENTURY;
81032
- } else if (specifier == "millennium" || specifier == "millenia") {
81031
+ } else if (specifier == "millennium" || specifier == "millennia") {
81033
81032
  result = DatePartSpecifier::MILLENNIUM;
81034
81033
  } else if (specifier == "microseconds" || specifier == "microsecond") {
81035
81034
  result = DatePartSpecifier::MICROSECONDS;
@@ -81045,7 +81044,7 @@ bool TryGetDatePartSpecifier(const string &specifier_p, DatePartSpecifier &resul
81045
81044
  } else if (specifier == "epoch") {
81046
81045
  // seconds since 1970-01-01
81047
81046
  result = DatePartSpecifier::EPOCH;
81048
- } else if (specifier == "dow") {
81047
+ } else if (specifier == "dow" || specifier == "dayofweek") {
81049
81048
  // day of the week (Sunday = 0, Saturday = 6)
81050
81049
  result = DatePartSpecifier::DOW;
81051
81050
  } else if (specifier == "isodow") {
@@ -81801,7 +81800,7 @@ void DatePartFun::RegisterFunction(BuiltinFunctions &set) {
81801
81800
  AddDatePartOperator<DatePart::DayOperator>(set, "day");
81802
81801
  AddDatePartOperator<DatePart::DecadeOperator>(set, "decade");
81803
81802
  AddDatePartOperator<DatePart::CenturyOperator>(set, "century");
81804
- AddDatePartOperator<DatePart::MilleniumOperator>(set, "millenium");
81803
+ AddDatePartOperator<DatePart::MilleniumOperator>(set, "millennium");
81805
81804
  AddDatePartOperator<DatePart::QuarterOperator>(set, "quarter");
81806
81805
  AddDatePartOperator<DatePart::DayOfWeekOperator>(set, "dayofweek");
81807
81806
  AddDatePartOperator<DatePart::ISODayOfWeekOperator>(set, "isodow");
@@ -114707,7 +114706,7 @@ unique_ptr<Expression> DatePartSimplificationRule::Apply(LogicalOperator &op, ve
114707
114706
  new_function_name = "century";
114708
114707
  break;
114709
114708
  case DatePartSpecifier::MILLENNIUM:
114710
- new_function_name = "millenium";
114709
+ new_function_name = "millennium";
114711
114710
  break;
114712
114711
  case DatePartSpecifier::QUARTER:
114713
114712
  new_function_name = "quarter";
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 "a73d33c14"
14
- #define DUCKDB_VERSION "0.3.2-dev173"
13
+ #define DUCKDB_SOURCE_ID "a527767c2"
14
+ #define DUCKDB_VERSION "0.3.2-dev184"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //