alamb opened a new issue #937:
URL: https://github.com/apache/arrow-datafusion/issues/937


   **Is your feature request related to a problem or challenge? Please describe 
what you are trying to do.**
   While developing projects with datafusion, often times it is useful to 
preview the output.
   
   Right now it is somewhat awkward to print the results of a DataFrame to 
`stdout` as it requires something like the following from the examples
   
   ```rust
       let df = ctx
           .read_parquet(filename)?
           .select_columns(&["id", "bool_col", "timestamp_col"])?
           .filter(col("id").gt(lit(1)))?;
   
       let results = df.collect().await?;
       pretty::print_batches(&results)?;
   ```
   
   
   **Describe the solution you'd like**
   it would be nice to allow a user to simply call a `show` function
   
   ```rust
       let df = ctx
           .read_parquet(filename)?
           .select_columns(&["id", "bool_col", "timestamp_col"])?
           .filter(col("id").gt(lit(1)))?;
   
       df.show().await;
   ```
   
   **Describe alternatives you've considered**
   A clear and concise description of any alternative solutions or features 
you've considered.
   
   **Additional context**
   Add any other context or screenshots about the feature request here.
   


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