Skip to content

Commit df34e0a

Browse files
committed
as_any no longer in api
1 parent c2af83c commit df34e0a

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

crates/core/src/codec.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -381,11 +381,7 @@ impl PhysicalExtensionCodec for PythonPhysicalCodec {
381381
/// inner codec. Returns `Ok(false)` for any non-Python UDF, signalling
382382
/// the caller to delegate to its `inner`.
383383
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 {
384+
let Some(py_udf) = node.inner().downcast_ref::<PythonFunctionScalarUDF>() else {
389385
return Ok(false);
390386
};
391387

0 commit comments

Comments
 (0)