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

Deprecate registerTempTable and add dataset.createTempView

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: 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

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

                Dates

                • Created:
                  Updated:
                  Resolved: