-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Convert datafusion table scan filter into iceberg table scan' filter. #585
Comments
@liurenjie1024 have you worked on this? if not, I'd like to take it. |
Hi @FANNG1 , |
got it, @a-agmon please go ahead |
Hi pub(crate) fn new(table: Table, schema: ArrowSchemaRef, filters: &[Expr]) -> Self {
let plan_properties = Self::compute_properties(schema.clone());
let predicates = Self::convert_to_predicates(filters);
Self {
table,
schema,
plan_properties,
predicates,
}
} Then the predicates needs to be applied as followes: Another important issue is that it seems that according to DataFusion docs, in order to get the filters passed to the what do you think? does this make sense? |
LGTM |
Hi @a-agmon
Yes, that's I think how it should work.
Yes, it makes sense to me. |
Hi, I think this is ready for review (will also ping you on slack). |
This would help to pruning unnecessary data when doing table scan from datafusion.
The text was updated successfully, but these errors were encountered: