xushiyan commented on code in PR #119:
URL: https://github.com/apache/hudi-rs/pull/119#discussion_r1759799287
##########
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:
@KnightChess in this PR we can annotate them as test helper like
`#[cfg(test)]`, then you can file a separate PR to refactor the test so we
won't allow mutability through these table API.
--
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]