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

Remove the workaroud to allow dots in field names in R's createDataFame

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Incomplete
    • 2.3.0
    • None
    • SparkR

    Description

      We are currently converting dots to underscore in some cases as below in SparkR

      > createDataFrame(list(list(1)), "a.a")
      SparkDataFrame[a_a:double]
      ...
      In FUN(X[[i]], ...) : Use a_a instead of a.a  as column name
      
      > createDataFrame(list(list(a.a = 1)))
      SparkDataFrame[a_a:double]
      ...
      In FUN(X[[i]], ...) : Use a_a instead of a.a  as column name
      

      This looks introduced in the first place due to SPARK-2775 but now it is fixed in SPARK-6898.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gurwls223 Hyukjin Kwon
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: