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

failed to uncache datasource table after the table location altered

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Incomplete
    • 2.2.0
    • None
    • SQL

    Description

      Currently if we first cache a datasource table, then we alter the table location,
      then we drop the table, uncache table will failed in the DropTableCommand, because the location has changed and sameResult for two InMemoryFileIndex with different location return false, so we can't find the table key in the cache.

      Attachments

        Activity

          People

            Unassigned Unassigned
            windpiger Song Jun
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: