Skip to content

feat - add limit parameter to collect function. #12010

@italanchan

Description

@italanchan

Is your feature request related to a problem?

https://ibis-project.org/reference/expression-generic.html#ibis.expr.types.generic.Value.collect

recommand add 'limit' parameter to return top n values.

What is the motivation behind your request?

No response

Describe the solution you'd like

currect collect would return all values when select a column from ibis object, if the list is too many values, it will use memory first and then use python [:100] to get top 100 values.

What version of ibis are you running?

12.0

What backend(s) are you using, if any?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureFeatures or general enhancementsquestionQuestions about the library

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions