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

Pagination and filters of index alias does not work. #11660

Closed
ctellechea2001 opened this issue Dec 21, 2023 · 2 comments
Closed

Pagination and filters of index alias does not work. #11660

ctellechea2001 opened this issue Dec 21, 2023 · 2 comments
Labels
bug Something isn't working Plugins untriaged

Comments

@ctellechea2001
Copy link

ctellechea2001 commented Dec 21, 2023

Describe the bug

When you send a sql query to an Alias, that include non-zero fetch_size or has a filter an error happens.
Everything is OK if you query directly to the index.

{ "error": { "details": "Index type [alias_phrases] does not exist", "reason": "There was internal problem at backend", "type": "IllegalArgumentException" }, "status": 500 }

Related component

Plugins

To Reproduce

  • Create an Index - indexA -- and load data
  • Create an Alias - aliasA -- for the index
  • Send query by devTools like: select * from aliasA with non-zero ("fetch_size": 50)
  • Send query by devTools like: select * from aliasA including any filter ("filter": {any filter})
    { "error": { "details": "Index type [aliasA] does not exist", "reason": "There was internal problem at backend", "type": "IllegalArgumentException" }, "status": 500 }

Expected behavior

The same result sending query to Alias o directly to the Indexes to support de rollover policies.

Additional Details

opensearch-project/sql#1398

Opensearch version tested: 2.7

@ctellechea2001 ctellechea2001 added bug Something isn't working untriaged labels Dec 21, 2023
@peternied
Copy link
Member

[Triage - attendees 1 2 3 4]
@ctellechea2001 Thanks for creating this issue; however, it isn't being accepted due to not being clear that this isn't an issue in the sql plugin - please update the description to reproduce the issue in terms of OpenSearch core codebase. Please feel free to re-open after addressing the reason.

@ctellechea2001
Copy link
Author

@peternied That is the same issue that was reported in this issue: opensearch-project/sql#1398, reported by MaxKsyunz. In this ticket I have asked but I didn't received any answer.

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

No branches or pull requests

2 participants