Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Failing to use fetch_size parameter with query #523

Open
ofir2471 opened this issue Dec 28, 2021 · 0 comments
Open

Failing to use fetch_size parameter with query #523

ofir2471 opened this issue Dec 28, 2021 · 0 comments

Comments

@ofir2471
Copy link

I'm trying to use the fetch_size parameter in my payload, but keep getting:
image
this is the query I'm trying to use:
curl -XPOST -u "username:password" -H "Content-Type: application/json" https://myurl.com/_opendistro/_sql -d "{ "query" : "SELECT id FROM db*", "fetch_size": 5}".
From your documentation: Cursor - fetch_size.
I'm working with opendistro on elasticsearch.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant