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

Remove hardcoded limit in print_results function #2080

Conversation

narangvivek10
Copy link
Contributor

The print_results function here is currently hardcoded to print only 2 results irrespective of the number of queries. A better way here could be to replace the hardcoded limit and allow printing results for the actual number of queries.

@narangvivek10 narangvivek10 requested a review from a team as a code owner January 4, 2024 01:30
Copy link

copy-pr-bot bot commented Jan 4, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the cpp label Jan 4, 2024
@narangvivek10 narangvivek10 marked this pull request as draft January 4, 2024 01:33
@narangvivek10 narangvivek10 changed the title Remove hardcoded limit in print_results function [WIP] Remove hardcoded limit in print_results function Jan 4, 2024
@cjnolet
Copy link
Member

cjnolet commented Jan 4, 2024

/ok to test

@narangvivek10 narangvivek10 changed the title [WIP] Remove hardcoded limit in print_results function Remove hardcoded limit in print_results function Jan 4, 2024
@narangvivek10 narangvivek10 marked this pull request as ready for review January 4, 2024 03:06
@cjnolet
Copy link
Member

cjnolet commented Jan 4, 2024

/ok to test

@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jan 4, 2024
@cjnolet
Copy link
Member

cjnolet commented Jan 4, 2024

/ok to test

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks for the contribution @narangvivek10!

@cjnolet
Copy link
Member

cjnolet commented Jan 4, 2024

/merge

@rapids-bot rapids-bot bot merged commit 6762fe5 into rapidsai:branch-24.02 Jan 4, 2024
ChristinaZ pushed a commit to ChristinaZ/raft that referenced this pull request Jan 17, 2024
The `print_results` function here is currently hardcoded to print only 2 results irrespective of the number of queries. A better way here could be to replace the hardcoded limit and allow printing results for the actual number of queries.

Authors:
  - Vivek Narang (https://github.com/narangvivek10)

Approvers:
  - Corey J. Nolet (https://github.com/cjnolet)

URL: rapidsai#2080
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants