duckdb 0.5.2-dev579.0 → 0.5.2-dev582.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 +5 -4
- package/src/duckdb.hpp +2 -2
- package/src/parquet-amalgamation.cpp +35322 -35322
package/package.json
CHANGED
package/src/duckdb.cpp
CHANGED
|
@@ -98757,7 +98757,7 @@ static void CurrentDateFunction(DataChunk &input, ExpressionState &state, Vector
|
|
|
98757
98757
|
static void CurrentTimestampFunction(DataChunk &input, ExpressionState &state, Vector &result) {
|
|
98758
98758
|
D_ASSERT(input.ColumnCount() == 0);
|
|
98759
98759
|
|
|
98760
|
-
auto val = Value::
|
|
98760
|
+
auto val = Value::TIMESTAMPTZ(GetTransactionTimestamp(state));
|
|
98761
98761
|
result.Reference(val);
|
|
98762
98762
|
}
|
|
98763
98763
|
|
|
@@ -98771,12 +98771,13 @@ void CurrentTimeFun::RegisterFunction(BuiltinFunctions &set) {
|
|
|
98771
98771
|
}
|
|
98772
98772
|
|
|
98773
98773
|
void CurrentDateFun::RegisterFunction(BuiltinFunctions &set) {
|
|
98774
|
-
set.AddFunction(
|
|
98774
|
+
set.AddFunction({"today", "current_date"},
|
|
98775
|
+
ScalarFunction({}, LogicalType::DATE, CurrentDateFunction, BindCurrentTime));
|
|
98775
98776
|
}
|
|
98776
98777
|
|
|
98777
98778
|
void CurrentTimestampFun::RegisterFunction(BuiltinFunctions &set) {
|
|
98778
|
-
set.AddFunction({"now", "get_current_timestamp"},
|
|
98779
|
-
ScalarFunction({}, LogicalType::
|
|
98779
|
+
set.AddFunction({"now", "get_current_timestamp", "transaction_timestamp"},
|
|
98780
|
+
ScalarFunction({}, LogicalType::TIMESTAMP_TZ, CurrentTimestampFunction, BindCurrentTime));
|
|
98780
98781
|
}
|
|
98781
98782
|
|
|
98782
98783
|
} // namespace duckdb
|
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 "dfd82a3d4"
|
|
15
|
+
#define DUCKDB_VERSION "v0.5.2-dev582"
|
|
16
16
|
//===----------------------------------------------------------------------===//
|
|
17
17
|
// DuckDB
|
|
18
18
|
//
|