Eason0729 commented on code in PR #12564:
URL: https://github.com/apache/datafusion/pull/12564#discussion_r1769600749
##########
datafusion/core/src/dataframe/mod.rs:
##########
@@ -225,7 +225,12 @@ impl DataFrame {
/// # async fn main() -> Result<()> {
/// let ctx = SessionContext::new();
/// let df = ctx.read_csv("tests/data/example.csv",
CsvReadOptions::new()).await?;
- /// let df = df.select_columns(&["a", "b"])?;
+ /// df.select_columns(&["a", "b"])?.show().await?;
Review Comment:
My original thought is to simplify large long column on doctest(less
readable), like this:
https://github.com/Eason0729/datafusion/blob/4dd44c5a2b0d9810d7e9163689afab227c58d542/datafusion/core/src/dataframe/mod.rs#L734
Therefore, I simplify example_long.csv in the next commit to the point which
is just enough to showcase most method on dataframe.
--
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]