Do we need a common function in a new file like `in_list_rule.rs` to do the `coerce_types`? cc @alamb @andygrove _Originally posted by @liukun4515 in https://github.com/apache/arrow-datafusion/pull/3472#discussion_r970347546_