Skip to content

Config the length of list when using In_list on parquet, rather than a const of 20. #8609

@karellincoln

Description

@karellincoln

Is your feature request related to a problem or challenge?

When I use In_list Expr, if the legth of list is 19, it used 6 ms. but when the length grows to 20, it used 200ms.

Describe the solution you'd like

in build_predicate_expression listExpr pruning down only in in_list.list().len() < 20
image

I want to config the value.

Describe alternatives you've considered

I think.
add a config in ParquetOptions and ParquetExec

but I also think that is ugly, Is there a more elegant implementation?

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions