wiedld commented on code in PR #12658:
URL: https://github.com/apache/datafusion/pull/12658#discussion_r1779369068


##########
datafusion/sqllogictest/test_files/metadata.slt:
##########
@@ -31,18 +31,14 @@ select * from table_with_metadata;
 NULL bar
 3 baz
 
-query I rowsort
+statement error DataFusion error: Internal error: Physical input schema should 
be the same as the one converted from logical input schema..

Review Comment:
   Check failed with:
   ```
   physical_input_schema: 
   Schema { 
       fields: [
           Field { 
               name: "id", 
               data_type: Int32, 
               nullable: true, 
               dict_id: 0, 
               dict_is_ordered: false, 
               metadata: {"metadata_key": "the id field"} 
           }
       ], 
       metadata: {"metadata_key": "the entire schema"} 
   }
   
   physical_input_schema_from_logical: 
   Schema { 
       fields: [
           Field { 
               name: "id", 
               data_type: Int32, 
               nullable: true, 
               dict_id: 0, 
               dict_is_ordered: false, 
               metadata: {"metadata_key": "the id field"} 
           }
       ], 
       metadata: {} 
   }
   ```



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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to