Skip to content

Commit

Permalink
Add support for Dictionary to AST datatype
Browse files Browse the repository at this point in the history
  • Loading branch information
cetra3 committed Feb 21, 2025
1 parent 84232d8 commit 38c6e91
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions datafusion/sql/src/unparser/expr.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1624,9 +1624,7 @@ impl Unparser<'_> {
DataType::Union(_, _) => {
not_impl_err!("Unsupported DataType: conversion: {data_type:?}")
}
DataType::Dictionary(_, _) => {
not_impl_err!("Unsupported DataType: conversion: {data_type:?}")
}
DataType::Dictionary(_, val) => self.arrow_dtype_to_ast_dtype(val),
DataType::Decimal128(precision, scale)
| DataType::Decimal256(precision, scale) => {
let mut new_precision = *precision as u64;
Expand Down

0 comments on commit 38c6e91

Please sign in to comment.