We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent acf4701 commit efa5e10Copy full SHA for efa5e10
datafusion-postgres/src/datatypes.rs
@@ -765,12 +765,7 @@ where
765
if let Some(ty) = pg_type_hint {
766
Ok(ty.clone())
767
} else if let Some(infer_type) = inferenced_type {
768
- // If inferenced type is a dictionary, use the value type
769
- let actual_type = match infer_type {
770
- DataType::Dictionary(_, value_type) => value_type.as_ref(),
771
- other_type => other_type,
772
- };
773
- into_pg_type(actual_type)
+ into_pg_type(infer_type)
774
} else {
775
Err(PgWireError::UserError(Box::new(ErrorInfo::new(
776
"FATAL".to_string(),
0 commit comments