cj-zhukov commented on PR #26934: URL: https://github.com/apache/datafusion/pull/26934#issuecomment-7162675688
Thanks @alamb - I've reworked the PR as you suggested: added `DataFrame::from_arrays(&self, ..)`, removed `SessionContext::read_columns`, and deprecated `from_columns` in favour of `from_arrays` so there is one API. I find this shape better than my previous version - it keeps array construction on `DataFrame` and follows how the rest of the API works. I also added examples (`DataFrame` docs, user guide, `datafusion-examples`) showing the different ways to use it: `dataframe!()?.from_arrays(..)` for a new session and `ctx.read_empty()?.from_arrays(..)` or any existing `DataFrame` for the session of a context. Ready for another look. -- 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]
