We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c2af83c commit df34e0aCopy full SHA for df34e0a
1 file changed
crates/core/src/codec.rs
@@ -381,11 +381,7 @@ impl PhysicalExtensionCodec for PythonPhysicalCodec {
381
/// inner codec. Returns `Ok(false)` for any non-Python UDF, signalling
382
/// the caller to delegate to its `inner`.
383
pub(crate) fn try_encode_python_scalar_udf(node: &ScalarUDF, buf: &mut Vec<u8>) -> Result<bool> {
384
- let Some(py_udf) = node
385
- .inner()
386
- .as_any()
387
- .downcast_ref::<PythonFunctionScalarUDF>()
388
- else {
+ let Some(py_udf) = node.inner().downcast_ref::<PythonFunctionScalarUDF>() else {
389
return Ok(false);
390
};
391
0 commit comments