1. A method comprising: initially resolving a resource path, identified in a query directed to data in a database system, to a file; compiling a query execution plan for the query; storing, in association with the query execution plan, a first mapping between the resource path and the file; detecting a change in the resource path for the file; performing a subsequent resolution in response to detecting the change in the resource path; after performing the subsequent resolution, storing, in association with the query execution plan, a second mapping based on the subsequent resolution, wherein the second mapping replaces the first mapping; and before detecting the change in the resource path for the file, executing the query using the query execution plan and the first mapping; after detecting the change in the resource path for the file, executing the query using the query execution plan and the second mapping; wherein the method is performed by one or more computing devices.