comphead commented on PR #12564:
URL: https://github.com/apache/datafusion/pull/12564#issuecomment-2365265416

   Thanks @Eason0729 for your contribution.
   I'm feeling we need to have something to create DF from rows rather in 
addition to creating DF from data files.
   Example can be 
   
   ```
   let schema = 
   DataFrame::from(schema, data)
   ```
   
   Underneath the method can call `ctx.read_batch(record_batch)`. The batch can 
be created with `RecordBatch::try_from_iter`


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