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

CREATE TABLE with LOCATION should imply EXTERNAL

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0
    • Fix Version/s: 2.0.0
    • Component/s: SQL
    • Labels:
      None
    • Target Version/s:

      Description

      If the user runs `CREATE TABLE some_table ... LOCATION /some/path`, then this will still be a managed table even though the table's data is stored at /some/path. The problem is that when we drop the table we'll also delete the data /some/path. This could cause problems if /some/path contains existing data.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                andrewor14 Andrew Or
                Reporter:
                andrewor14 Andrew Or
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: