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

create *permanent* Spark View from DataFrame via PySpark & Scala DataFrame API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.5.0
    • None
    • PySpark

    Description

      currently only temporary Spark Views can be created from a DataFrame:

      When a user needs a permanent Spark View he has to fall back to Spark SQL (CREATE VIEW AS SELECT...).

      Sometimes it is easier and more readable to specify the desired logic of the view through Scala/PySpark DataFrame API.
      Therefore, I'd like to suggest to implement a new PySpark method that allows creating a permanent Spark View from a DataFrame (e.g. DataFrame.createOrReplaceView).

      see also:

      Attachments

        Activity

          People

            Unassigned Unassigned
            keen Martin Bode
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: