TheBuilderJR commented on issue #2326:
URL: https://github.com/apache/datafusion/issues/2326#issuecomment-2664575861

   @alamb I just tried this on 45.0 and it still doesn't seem supported:
   
   ```
    Failed to collect data frame results: Plan("Cannot cast file schema field 
additionalInfo of type Struct([Field { name: \"location\", data_type: Utf8, 
nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { 
name: \"timestamp_utc\", data_type: Timestamp(Millisecond, Some(\"UTC\")), 
nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }]) to table 
schema field of type Struct([Field { name: \"location\", data_type: Utf8, 
nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { 
name: \"timestamp_utc\", data_type: Timestamp(Millisecond, Some(\"UTC\")), 
nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, Field { 
name: \"reason\", data_type: Struct([Field { name: \"_level\", data_type: 
Float64, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: {} }, 
Field { name: \"details\", data_type: Struct([Field { name: \"rurl\", 
data_type: Utf8, nullable: true, dict_id: 0, dict_is_ordered: false, metadata: 
{} }, Field { 
 name: \"s\", data_type: Float64, nullable: true, dict_id: 0, dict_is_ordered: 
false, metadata: {} }, Field { name: \"t\", data_type: Utf8, nullable: true, 
dict_id: 0, dict_is_ordered: false, metadata: {} }]), nullable: true, dict_id: 
0, dict_is_ordered: false, metadata: {} }]), nullable: true, dict_id: 0, 
dict_is_ordered: false, metadata: {} }])
   ```
   
   Do I need to flip a flag or something?
   
   
![Image](https://github.com/user-attachments/assets/db8dfbd3-9b1d-470a-8738-a719834e92d4)
   


-- 
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