[ https://issues.apache.org/jira/browse/SPARK-10824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14908380#comment-14908380 ]
Shivaram Venkataraman commented on SPARK-10824: ----------------------------------------------- [~Narine] We discussed this in https://issues.apache.org/jira/browse/SPARK-9317 and specifically in the github PR https://github.com/apache/spark/pull/8360#issuecomment-133516179 As described in the PR comment this needs a more involved change on the SQL side to see if the data frame is cheap to print or as we don't want to trigger expensive computation in this case. cc [~rxin] > DataFrame show method - show(df) should show first N number of rows, similar > to R > --------------------------------------------------------------------------------- > > Key: SPARK-10824 > URL: https://issues.apache.org/jira/browse/SPARK-10824 > Project: Spark > Issue Type: Sub-task > Components: SparkR > Reporter: Narine Kokhlikyan > Priority: Minor > > Hi everyone, > currently, show(dataframe) method shows some information about the columns > and their datatypes, however R shows the first N number of rows in dataframe. > Basically, the same as showDF. Right now I changed so that show calls showDF. > Also, the default number of rows was hard coded in DataFrame.R, I set it as > environment variable in sparkR.R. We can change it if you have other better > suggestions. > Thanks, > Narine -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org