comphead commented on issue #5695:
URL: 
https://github.com/apache/arrow-datafusion/issues/5695#issuecomment-1482116361

   Yes @ozankabak the problem is broader, for the case above the diff is: 
   ```
   Schema {
       fields: [
           Field {
               name: "count",
               data_type: Int64,
               nullable: true,
               dict_id: 0,
               dict_is_ordered: false,
               metadata: {},
           },
           Field {
               name: "n_regionkey",
               data_type: Int64,
               nullable: true,
               dict_id: 0,
               dict_is_ordered: false,
               metadata: {},
           },
       ],
       metadata: {},
   }
   [arrow-datafusion/datafusion/core/src/datasource/memory.rs:61] 
&batches.schema() = Schema {
       fields: [
           Field {
               name: "count",
               data_type: Int64,
               nullable: true,
               dict_id: 0,
               dict_is_ordered: false,
               metadata: {},
           },
           Field {
               name: "y",
               data_type: Int64,
               nullable: true,
               dict_id: 0,
               dict_is_ordered: false,
               metadata: {},
           },
       ],
       metadata: {},
   }
   Error during planning: Mismatch between schema and batches
   ```
   
   I'm checking if its related to WITH
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to