Skip to content

Commit

Permalink
chore: Update vendored sources to duckdb/duckdb@6c02032 (#447)
Browse files Browse the repository at this point in the history
Fix duckdb/duckdb#14026: all TIMESTAMP_xx cannot cast to TIME directly (duckdb/duckdb#14045)

Co-authored-by: krlmlr <[email protected]>
  • Loading branch information
github-actions[bot] and krlmlr authored Oct 3, 2024
1 parent 92485d0 commit 0569d73
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/duckdb/src/function/table/version/pragma_version.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef DUCKDB_PATCH_VERSION
#define DUCKDB_PATCH_VERSION "1-dev273"
#define DUCKDB_PATCH_VERSION "1-dev276"
#endif
#ifndef DUCKDB_MINOR_VERSION
#define DUCKDB_MINOR_VERSION 1
Expand All @@ -8,10 +8,10 @@
#define DUCKDB_MAJOR_VERSION 1
#endif
#ifndef DUCKDB_VERSION
#define DUCKDB_VERSION "v1.1.1-dev273"
#define DUCKDB_VERSION "v1.1.1-dev276"
#endif
#ifndef DUCKDB_SOURCE_ID
#define DUCKDB_SOURCE_ID "4ce455c840"
#define DUCKDB_SOURCE_ID "6c02032393"
#endif
#include "duckdb/function/table/system_functions.hpp"
#include "duckdb/main/database.hpp"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ static unique_ptr<BaseStatistics> StatisticsNumericCastSwitch(const BaseStatisti
case LogicalTypeId::TIME: {
switch (input.GetType().id()) {
case LogicalTypeId::TIMESTAMP:
case LogicalTypeId::TIMESTAMP_SEC:
case LogicalTypeId::TIMESTAMP_MS:
case LogicalTypeId::TIMESTAMP_NS:
case LogicalTypeId::TIMESTAMP_TZ:
return nullptr;
default:
Expand Down

0 comments on commit 0569d73

Please sign in to comment.