forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SQL: Fix qualified attribute resolution with CCS (elastic#81320) (ela…
…stic#81570) In case the fields are qualified only by the index name in a cross cluster search query, the field resolution was failing since an attribute's qualification contains the cluster name, while a field's doesn't. This changes the existing `Attribute#qualifiedName()` to return a qualification including the index name only and adds (for completion) a new method, `fullyQualifiedName()`, which will return the 'cluster:index' qualification. This will allow queries like this to work: `SELECT remote_index.field FROM remote_cluster:remote_index` or `SELECT remote_index.field FROM remote_index` when the cluster is provided through the xDBC "cluster" parameter.
- Loading branch information
Showing
7 changed files
with
65 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
37 changes: 0 additions & 37 deletions
37
x-pack/plugin/ql/src/main/java/org/elasticsearch/xpack/ql/util/RemoteClusterUtils.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters