alamb commented on issue #11770:
URL: https://github.com/apache/datafusion/issues/11770#issuecomment-2263851781

   BTW I think you can write a test for the embedded schema in a parquet file 
using the `describe` command
   
   
   ```shell
   DataFusion CLI v40.0.0
   > copy (values (1)) to '/tmp/foo.parquet';
   +-------+
   | count |
   +-------+
   | 1     |
   +-------+
   1 row(s) fetched.
   Elapsed 0.051 seconds.
   
   > describe '/tmp/foo.parquet';
   +-------------+-----------+-------------+
   | column_name | data_type | is_nullable |
   +-------------+-----------+-------------+
   | column1     | Int64     | YES         |
   +-------------+-----------+-------------+
   1 row(s) fetched.
   ```
   
   Perhaps we could extend some of the tests in 
https://github.com/apache/datafusion/blob/main/datafusion/sqllogictest/test_files/copy.slt
 with `describe` as a way to verify your fix


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