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 50b5ac2 commit 8b0c609Copy full SHA for 8b0c609
arrow-pg/src/datatypes/df.rs
@@ -66,8 +66,6 @@ where
66
} else if let Some(infer_type) = inferenced_type {
67
into_pg_type(infer_type)
68
} else {
69
- // Default to TEXT for untyped parameters in extended queries
70
- // This allows arithmetic operations to work with implicit casting
71
Ok(Type::UNKNOWN)
72
}
73
@@ -263,7 +261,8 @@ where
263
261
// TODO: add more advanced types (composite types, ranges, etc.)
264
262
_ => {
265
// the client didn't provide type information and we are also
266
- // unable to inference the type.
+ // unable to inference the type, or it's a type that we haven't
+ // supported:
267
//
268
// In this case we retry to resolve it as String or StringArray
269
let value = portal.parameter::<String>(i, &pg_type)?;
0 commit comments