Skip to content

Aggregation Support for OpenSearch #3054

@mhabib2003

Description

@mhabib2003

Is your idea related to a problem? Please describe.
The issue I'm facing is in awswrangler.opensearch._read.py. The conversion from response to dataframe assumes that all relevant information is returned under top_hits. However, for aggregations, this is not true, as there are additional fields in the returned json before arriving at potentially top_hits or other relevant fields (e.g. buckets).

Describe the solution you'd like
I'd like aggregations to be supported in the conversion from response to dataframe. Specifically, it would be nice to at least support top_hits within aggregations.

Thanks in advance!

P.S. Please do not attach files as it's considered a security risk. Add code snippets directly in the message body as much as possible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions