Skip to content
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

Add support for $sample to aggregation. [DATAMONGO-1325] #2237

Closed
spring-projects-issues opened this issue Nov 19, 2015 · 3 comments
Closed
Assignees
Labels
in: aggregation-framework Aggregation framework support type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link

Christoph Strobl opened DATAMONGO-1325 and commented

{ $sample: { size: <positive integer> } }

Reference URL: https://docs.mongodb.org/master/reference/operator/aggregation/sample/

Issue Links:

  • DATAMONGO-1415 add support for $sample in the Aggregration framework
    ("is duplicated by")
  • DATAMONGO-2023 ClassCastException for $sample aggregation operation

Referenced from: pull request #452

1 votes, 2 watchers

@spring-projects-issues
Copy link
Author

Gustavo de Geus commented

Hi,
I noticed that this issue duplicates [#DATAMONGO-1415].
Are you guys working on it? Can I submit a PR with this new feature?

Thanks!

@spring-projects-issues
Copy link
Author

Christoph Strobl commented

A pull request is always welcome!

@spring-projects-issues
Copy link
Author

Gustavo de Geus commented

Done!
Let me know if I missed something.

Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: aggregation-framework Aggregation framework support type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants