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

Failing to use fetch_size parameter with query #523

@ofir2471

Description

@ofir2471

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions