duckdb 0.3.2-dev175.0 → 0.3.2-dev177.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-dev175.0",
4
+ "version": "0.3.2-dev177.0",
5
5
  "description": "DuckDB node.js API",
6
6
  "gypfile": true,
7
7
  "dependencies": {
package/src/duckdb.cpp CHANGED
@@ -81028,7 +81028,7 @@ bool TryGetDatePartSpecifier(const string &specifier_p, DatePartSpecifier &resul
81028
81028
  result = DatePartSpecifier::DECADE;
81029
81029
  } else if (specifier == "century" || specifier == "centuries") {
81030
81030
  result = DatePartSpecifier::CENTURY;
81031
- } else if (specifier == "millennium" || specifier == "millenia") {
81031
+ } else if (specifier == "millennium" || specifier == "millennia") {
81032
81032
  result = DatePartSpecifier::MILLENNIUM;
81033
81033
  } else if (specifier == "microseconds" || specifier == "microsecond") {
81034
81034
  result = DatePartSpecifier::MICROSECONDS;
@@ -81044,7 +81044,7 @@ bool TryGetDatePartSpecifier(const string &specifier_p, DatePartSpecifier &resul
81044
81044
  } else if (specifier == "epoch") {
81045
81045
  // seconds since 1970-01-01
81046
81046
  result = DatePartSpecifier::EPOCH;
81047
- } else if (specifier == "dow") {
81047
+ } else if (specifier == "dow" || specifier == "dayofweek") {
81048
81048
  // day of the week (Sunday = 0, Saturday = 6)
81049
81049
  result = DatePartSpecifier::DOW;
81050
81050
  } else if (specifier == "isodow") {
@@ -81800,7 +81800,7 @@ void DatePartFun::RegisterFunction(BuiltinFunctions &set) {
81800
81800
  AddDatePartOperator<DatePart::DayOperator>(set, "day");
81801
81801
  AddDatePartOperator<DatePart::DecadeOperator>(set, "decade");
81802
81802
  AddDatePartOperator<DatePart::CenturyOperator>(set, "century");
81803
- AddDatePartOperator<DatePart::MilleniumOperator>(set, "millenium");
81803
+ AddDatePartOperator<DatePart::MilleniumOperator>(set, "millennium");
81804
81804
  AddDatePartOperator<DatePart::QuarterOperator>(set, "quarter");
81805
81805
  AddDatePartOperator<DatePart::DayOfWeekOperator>(set, "dayofweek");
81806
81806
  AddDatePartOperator<DatePart::ISODayOfWeekOperator>(set, "isodow");
@@ -114706,7 +114706,7 @@ unique_ptr<Expression> DatePartSimplificationRule::Apply(LogicalOperator &op, ve
114706
114706
  new_function_name = "century";
114707
114707
  break;
114708
114708
  case DatePartSpecifier::MILLENNIUM:
114709
- new_function_name = "millenium";
114709
+ new_function_name = "millennium";
114710
114710
  break;
114711
114711
  case DatePartSpecifier::QUARTER:
114712
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 "847e60d0f"
14
- #define DUCKDB_VERSION "0.3.2-dev175"
13
+ #define DUCKDB_SOURCE_ID "2806b245e"
14
+ #define DUCKDB_VERSION "0.3.2-dev177"
15
15
  //===----------------------------------------------------------------------===//
16
16
  // DuckDB
17
17
  //