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

Add examples for functions collection for pyspark

    XMLWordPrintableJSON

Details

    • Documentation
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.1.0
    • 2.3.0
    • Documentation, PySpark
    • None

    Description

      Document sql.functions.py:

      1. Add examples for the common string functions (upper, lower, and reverse)
      2. Rename columns in datetime examples to be more informative (e.g. from 'd' to 'date')
      3. Add examples for unix_timestamp, from_unixtime, rand, randn, collect_list, collect_set, lit,
      4. Add note to all trigonometry functions that units are radians.
      5. Add links between functions, (e.g. add link to radians from toRadians)

      Attachments

        Activity

          People

            map222 Michael Patterson
            map222 Michael Patterson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: