comphead commented on issue #1884:
URL: 
https://github.com/apache/datafusion-comet/issues/1884#issuecomment-2980960930

   Surpisingly I'm getting 
   ```
   Caused by: java.lang.ClassCastException: class 
org.apache.spark.sql.types.ArrayType cannot be cast to class 
org.apache.spark.sql.types.StructType (org.apache.spark.sql.types.ArrayType and 
org.apache.spark.sql.types.StructType are in unnamed module of loader 'app')
   ```
   
   The reason is DF returns an `struct[]` as a `map_extract` return type where 
as spark expect the `struct`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: github-unsubscr...@datafusion.apache.org
For additional commands, e-mail: github-h...@datafusion.apache.org

Reply via email to