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

Deprecate registerTempTable and add dataset.createTempView

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • 2.0.0
    • None

    Description

      Our current dataset.registerTempTable does not actually materialize data. So, it should be considered as creating a temp view. We can deprecate it and create a new method called dataset.createTempView(replaceIfExists: Boolean). The default value of replaceIfExists should be false. For registerTempTable, it will call dataset.createTempView(replaceIfExists = true).

      Attachments

        Issue Links

          Activity

            People

              clockfly@gmail.com Xiang Zhong
              clockfly Sean Zhong
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: