Skip to content

Commit

Permalink
Restore support for TIME_TZ in arrow
Browse files Browse the repository at this point in the history
  • Loading branch information
carlopi authored and Mytherin committed Aug 4, 2023
1 parent fb2692a commit 9f2f87b
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion duckdb.patch
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
diff --git a/src/common/arrow/arrow_converter.cpp b/src/common/arrow/arrow_converter.cpp
index 26db9840ac..7d904aa202 100644
--- a/src/common/arrow/arrow_converter.cpp
+++ b/src/common/arrow/arrow_converter.cpp
@@ -138,6 +138,7 @@ void SetArrowFormat(DuckDBArrowSchemaHolder &root_holder, ArrowSchema &child, co
child.format = "tdD";
break;
case LogicalTypeId::TIME:
+ case LogicalTypeId::TIME_TZ:
child.format = "ttu";
break;
case LogicalTypeId::TIMESTAMP:
diff --git a/src/function/table/system/test_all_types.cpp b/src/function/table/system/test_all_types.cpp
index 1652c3eccd..c9f3db2459 100644
index a0b856266c..59761509a4 100644
--- a/src/function/table/system/test_all_types.cpp
+++ b/src/function/table/system/test_all_types.cpp
@@ -204,13 +204,14 @@ vector<TestType> TestAllTypesFun::GetTestTypes(bool use_large_enum) {
Expand Down

0 comments on commit 9f2f87b

Please sign in to comment.