Skip to content

Support update last cache for data insertion when using template#9696

Merged
MarcosZyk merged 5 commits intoapache:masterfrom
MarcosZyk:template_last_cache
Apr 26, 2023
Merged

Support update last cache for data insertion when using template#9696
MarcosZyk merged 5 commits intoapache:masterfrom
MarcosZyk:template_last_cache

Conversation

@MarcosZyk
Copy link
Contributor

@MarcosZyk MarcosZyk commented Apr 25, 2023

Description

Currently, when using template, last cache won't be updated after data insertion since the cache entry hasn't been initialized and cached during schema validation.

Thanks to all related info is present in data insertion plan, we can directly initialize a cache entry and cache the schema and last value.

Copy link
Contributor

@HTHou HTHou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MarcosZyk MarcosZyk merged commit b6f78dc into apache:master Apr 26, 2023
@MarcosZyk MarcosZyk deleted the template_last_cache branch June 5, 2023 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants