arrow-rs
has some functions to check data type, and the logic is also in datafusion, for example, https://docs.rs/arrow/7.0.0/arrow/datatypes/enum.DataType.html#method.is_numeric
We should reduce the redundancy in DataFusion to make the codebase clear.
Originally posted by @liukun4515 in #1606 (comment)