Describe the bug
can_cast_from_boolean which is a recursive function to cast complex struct types to strings doesnt support casting to string. Given that DF supports cast from bool to pretty much all possible primitive data types (logic in is_spark_datafusion_compatible ) , we need to fix this function to match with datafusion compatibility
Steps to reproduce
No response
Expected behavior
No response
Additional context
No response