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

[BUG] fetch_size does not work when sending PPL request #3314

Open
abbyhu2000 opened this issue Feb 7, 2025 · 0 comments
Open

[BUG] fetch_size does not work when sending PPL request #3314

abbyhu2000 opened this issue Feb 7, 2025 · 0 comments
Labels
bug Something isn't working PPL Piped processing language

Comments

@abbyhu2000
Copy link
Member

What is the bug?
According to documentation, https://opensearch.org/docs/latest/search-plugins/sql/sql-ppl-api/#request-body-fields, fetch_size should control the size of the responses we got back for both PPL and SQL requests. However, currently when i send requests with fetch_size in the dev tool, only SQL works; PPL responses do not seem to respect the fetch_size param and still return the full size responses.

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to dev tool
  2. type
POST _plugins/_ppl/
{
  "fetch_size" : 1,
  "query" : "source = opensearch_dashboards_sample_data_flights",
}
  1. Send the request
  2. See responses return with full size, but not size 1

What is your host/environment?

  • Version 2.18

Do you have any screenshots?

Screen.Recording.2025-02-07.at.3.00.06.PM.mov

Do you have any additional context?
Add any other context about the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working PPL Piped processing language
Projects
None yet
Development

No branches or pull requests

2 participants