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

CREATE TEMPORARY TABLE needs to avoid existing temp view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.1.0
    • 2.2.0
    • SQL
    • None

    Description

      Current "CREATE TEMPORARY TABLE ... " is deprecated and recommend users to use "CREATE TEMPORARY VIEW ..." And it does not support "IF NOT EXISTS" clause. However, if there is an existing temporary view defined, it is possible to unintentionally replace this existing view by issuing "CREATE TEMPORARY TABLE ... " with the same table/view name.

      Attachments

        Activity

          People

            xwu0226 Xin Wu
            xwu0226 Xin Wu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: