diff --git a/crates/duckdb/src/test_all_types.rs b/crates/duckdb/src/test_all_types.rs index 4088be1b..143424b1 100644 --- a/crates/duckdb/src/test_all_types.rs +++ b/crates/duckdb/src/test_all_types.rs @@ -21,8 +21,7 @@ fn test_large_arrow_types() -> crate::Result<()> { fn test_with_database(database: &Connection) -> crate::Result<()> { // uhugeint, time_tz, and dec38_10 aren't supported in the duckdb arrow layer - // union is currently blocked by https://github.com/duckdb/duckdb/pull/11326 - let excluded = ["uhugeint", "time_tz", "dec38_10", "union"]; + let excluded = ["uhugeint", "time_tz", "dec38_10"]; let mut binding = database.prepare(&format!( "SELECT * EXCLUDE ({}) FROM test_all_types()", diff --git a/crates/duckdb/src/types/mod.rs b/crates/duckdb/src/types/mod.rs index e288cc0a..49d05b29 100644 --- a/crates/duckdb/src/types/mod.rs +++ b/crates/duckdb/src/types/mod.rs @@ -205,7 +205,8 @@ impl From<&DataType> for Type { .collect(), ), DataType::LargeList(inner) => Self::List(Box::new(Type::from(inner.data_type()))), - // DataType::Union(_, _) => Self::Union, + DataType::Union(_, _) => Self::Union, + DataType::Dictionary(_, _) => Self::Enum, DataType::Decimal128(..) => Self::Decimal, DataType::Decimal256(..) => Self::Decimal, DataType::Map(field, ..) => {