-
Notifications
You must be signed in to change notification settings - Fork 141
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] ORDER BY meta fields, such as _id, regression in ODFE 1.13 and removed in OpenSearch 1.0 #432
Comments
dblock
changed the title
[BUG] ORDER BY meta fields, such as _id, is broken
[BUG] ORDER BY meta fields, such as _id, broken since ODFE 1.13
Feb 15, 2022
Why throw SemanticCheck in ODFE 1.13
Why ODFE 1.11 works
Migration
|
In #70 we have removed this flag from OpenSearch 1.x, so the workaround will only work in OpenDistro. See https://github.com/opensearch-project/sql/blob/main/release-notes/opensearch-sql.release-notes-1.0.0.0.md for more changes. |
dblock
changed the title
[BUG] ORDER BY meta fields, such as _id, broken since ODFE 1.13
[BUG] ORDER BY meta fields, such as _id, regression in ODFE 1.13 and removed in OpenSearch 1.0
Feb 16, 2022
Another issue related: #339 |
Merged
6 tasks
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Support for meta fields is open as a feature request in opendistro-for-elasticsearch/sql#1038 and #44, but it's actually a regression in ODFE 1.13 - ODFE 1.11.0 had at least some support for it, e.g.
ORDER BY _id
.Works in OpenDistro 1.11
Note that
SELECT _id
doesn't return the metadata field.Explain works.
Regression in 1.13 and still Broken in OpenSearch 1.2.4
The text was updated successfully, but these errors were encountered: