KnightChess commented on code in PR #119:
URL: https://github.com/apache/hudi-rs/pull/119#discussion_r1760515621
##########
crates/core/src/table/mod.rs:
##########
@@ -306,6 +330,16 @@ impl Table {
.read_file_slice_by_path_unchecked(relative_path)
.await
}
+
+ pub fn partition_filter_replace(&mut self, partition_filters:
Vec<PartitionFilter>) {
+ if self.configs.get_or_default(IsHiveStylePartitioning).to() {
+ self.partition_filters = partition_filters;
+ }
+ }
+
+ pub fn reset(&mut self) {
+ self.file_system_view.reset()
+ }
Review Comment:
@xushiyan This is not only for testing, but also to refresh the cache, like
spark need use `refresth table defualt.testA` to refresth cache meta.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]