Datafusion questions #1061
-
Hey there, I was wondering about the Datafusion TableProvider impl. I noticed it does not implement Also regarding the pruning logic: let pruning_predicate = PruningPredicate::try_new(predicate, schema.clone())?;
let files_to_prune = pruning_predicate.prune(self)?;
self.get_state()
.files()
.iter()
.zip(files_to_prune.into_iter())
.for_each(|(action, prune_file)| {
if !prune_file {
let part = partitioned_file_from_action(action, &schema);
file_groups
.entry(part.partition_values.clone())
.or_default()
.push(part);
};
});
I can open an issue but just wanted to check first via discussion in case I'm missing something obvious as I'm pretty new to Datafusion and this Rust crate. Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
A quick scan of the docs for pruning predicate makes me think you are correct - so yes, please file an issue :). |
Beta Was this translation helpful? Give feedback.
A quick scan of the docs for pruning predicate makes me think you are correct - so yes, please file an issue :).