alamb opened a new issue, #15357:
URL: https://github.com/apache/datafusion/issues/15357

   I think the current code tests the re-exported Parquet functionalities, not 
touching the DataFusion-related code. Ideally, we should test the end-to-end 
Parquet reading process.
   
   The process roughly looks like this:
   1. Create a [in-memory 
object_store](https://docs.rs/object_store/latest/object_store/memory/struct.InMemory.html),
 and put the Parquet data you generated into the object_store.
   2. [Register the 
object_store](https://github.com/apache/datafusion/blob/3269f01b42021cfab181577d579b0544808b4fca/datafusion/core/src/execution/context/mod.rs#L494)
 along with the path to the DataFusion.
   3. Run a SQL query from the DataFusion side to see if the results can be 
read back.
   
   A loosely related test can be found here: 
https://github.com/XiangpengHao/parquet-viewer/blob/main/src/tests.rs#L9
   
   _Originally posted by @XiangpengHao in 
https://github.com/apache/datafusion/pull/15325#discussion_r2008190901_
               


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