Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added a section on generative tooling.

...

Panel
borderStylesolid
titleIMPALA-1645 and IMPALA-1632: Verify Cache Directives

IMPALA-1645 and IMPALA-1632: Verify Cache Directives

When a table is loaded in the catalog, we will now perform a check to
verify that the cache directive ID and cache replication factor is still
valid and the data is current.

If the cache directive does no longer exist, we issue a error message
and mark the table / partition as uncached. Furthermore, the replication
factor is updated with the information from the actual cache directive.

In the case of insert statement there is a special situation as the
catalog update is happening synchronously and will try to access the
cache directive information that might be stale. Thus in this insert
path, we catch the possible not found exception and reset the caching
information.

If using generative tooling, please follow Apache's guidelines. Significant contributions are governed by the Apache Contributor Agreement, and generated contributions are evaluated by the same standards we use for all contributions. Please include Assisted-by: <model> (<tool>) - such as Assisted-by: Claude Opus 4.5 (Claude Code) - in your commit message to help us understand sources used in crafting the contribution.

Review

When you have a patch that you consider ready for submission, submit it to our code review tool called Gerrit (see Using Gerrit to submit and review patches for details). You’ll see an e-mail go out to the dev@impala.apache.org list.

...