問題文
A developer caches an intermediate DataFrame, then inserts new rows into the source table, and finally collects both the cached DataFrame and the original one. What do the two collections return?
選択肢
- The cached one returns the rows as of the caching call, while the original one includes the newly inserted rows.
- Both return the rows as of the caching call, because the cache is applied to the source table as well as to the result.
- The cached one fails, because using a cached result after the source table changed raises an error.
- Both return the newly inserted rows, because the cache is invalidated when the source table changes.