Skip to content

Top-N pushdown support for the MongoDB connector #26366

@cbartosiak

Description

@cbartosiak

It would be great to add support for Top-N pushdown in the MongoDB connector.

Right now, even simple queries like:

SELECT * FROM "mongo"."db"."coll" ORDER BY "x" LIMIT 25

do not benefit from MongoDB's native .sort().limit() optimization.

Pushing this down would improve performance and reduce unnecessary data transfer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    mongodbMongoDB connector

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions