Support Arrays for the Map scalar functions (#11712)
* crude impl to support array
* ++improvement
* uncomment logic test
* working impl
* leverage return_type_from_exprs
* add documentation
* remove unwrap method
* add more slt tests
* typos
* typos
* remove extract based on dt
* few more tests
* move back to return_type
* improve error & tests
* Update datafusion/functions-nested/src/map.rs
Co-authored-by: Alex Huang <huangweijun1001@gmail.com>
---------
Co-authored-by: Alex Huang <huangweijun1001@gmail.com>