duckdb 0.5.2-dev1844.0 → 0.5.2-dev1846.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 +4 -1
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +37575 -37575
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -103194,6 +103194,7 @@ void CurrentTimestampFun::RegisterFunction(BuiltinFunctions &set) {
|
|
|
103194
103194
|
|
|
103195
103195
|
|
|
103196
103196
|
|
|
103197
|
+
|
|
103197
103198
|
namespace duckdb {
|
|
103198
103199
|
|
|
103199
103200
|
// This function is an implementation of the "period-crossing" date difference function from T-SQL
|
|
@@ -103379,7 +103380,9 @@ int64_t DateDiff::ISOYearOperator::Operation(timestamp_t startdate, timestamp_t
|
|
|
103379
103380
|
|
|
103380
103381
|
template <>
|
|
103381
103382
|
int64_t DateDiff::MicrosecondsOperator::Operation(timestamp_t startdate, timestamp_t enddate) {
|
|
103382
|
-
|
|
103383
|
+
const auto start = Timestamp::GetEpochMicroSeconds(startdate);
|
|
103384
|
+
const auto end = Timestamp::GetEpochMicroSeconds(enddate);
|
|
103385
|
+
return SubtractOperatorOverflowCheck::Operation<int64_t, int64_t, int64_t>(end, start);
|
|
103383
103386
|
}
|
|
103384
103387
|
|
|
103385
103388
|
template <>
|
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.2-
|
|
14
|
+
#define DUCKDB_SOURCE_ID "fbb77b1a1d"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev1846"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|