I agree some more tests would be good _Originally posted by @alamb in https://github.com/apache/arrow-datafusion/pull/3636#discussion_r982809243_