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

Expose spark.range() as table-valued function in SQL

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.1, 2.1.0
    • SQL
    • None

    Description

      The idea here is to create the spark.range( x ) equivalent in SQL, so we can do something like

      select count(*) from range(10000)
      

      This would be useful for sql-only testing and benchmarks.

      Attachments

        Activity

          People

            ekhliang Eric Liang
            ekhliang Eric Liang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: