andygrove commented on code in PR #3347:
URL: https://github.com/apache/arrow-datafusion/pull/3347#discussion_r967661085
##########
datafusion/common/src/lib.rs:
##########
@@ -27,3 +27,23 @@ pub use column::Column;
pub use dfschema::{DFField, DFSchema, DFSchemaRef, ExprSchema, ToDFSchema};
pub use error::{field_not_found, DataFusionError, Result, SchemaError};
pub use scalar::{ScalarType, ScalarValue};
+
+#[macro_export]
Review Comment:
```suggestion
/// Downcast an Arrow Array to a concrete type, return an `Err` if the cast
is
/// not possible.
///
/// Example: `let array = downcast_value!(values, Int32Array)`
#[macro_export]
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]