Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-9315 SparkR DataFrame improvements to be more R-friendly
  3. SPARK-10824

DataFrame show method - show(df) should show first N number of rows, similar to R

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • SparkR
    • None

    Description

      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

      Attachments

        Activity

          People

            Unassigned Unassigned
            Narine Narine Kokhlikyan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: