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

[SQL] registerAsTable / registerTempTable overwrites old tables

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.0.2
    • Fix Version/s: None
    • Component/s: SQL
    • Labels:
    • Target Version/s:

      Description

      At least in Spark 1.0.2, calling registerAsTable("a") when "a" had been registered before does not cause an error. However, there is no way to access the old table, even though it may be cached and taking up space.

      How about at least throwing an error?

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              velvia Evan Chan
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: