Uploaded image for project: 'Spark'
  1. Spark
  2. SPARK-19818

rbind should check for name consistency of input data frames

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1.0
    • Fix Version/s: 2.2.0
    • Component/s: SparkR
    • Labels:
    • Target Version/s:

      Description

      The current implementation accepts data frames with different schemas. See issues below:

      df <- createDataFrame(data.frame(name = c("Michael", "Andy", "Justin"), age = c(1, 30, 19)))
      union(df, df[, c(2, 1)])
           name     age
      1 Michael     1.0
      2    Andy    30.0
      3  Justin    19.0
      4     1.0 Michael
      

        Attachments

          Activity

            People

            • Assignee:
              actuaryzhang Wayne Zhang
              Reporter:
              actuaryzhang Wayne Zhang
              Shepherd:
              Felix Cheung
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: