We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent efe0de2 commit 4f061aeCopy full SHA for 4f061ae
x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/EsqlSession.java
@@ -567,10 +567,6 @@ private IndexResolution checkSingleIndex(
567
IndexResolution lookupIndexResolution,
568
Collection<String> indexNames
569
) {
570
- if (lookupIndexResolution.get().indexNameWithModes().size() <= 1) {
571
- // Shortcut for single-index case
572
- return lookupIndexResolution;
573
- }
574
// If all indices resolve to the same name, we can use that for BWC
575
// Older clusters only can handle one name in LOOKUP JOIN
576
var localIndexNames = indexNames.stream().map(n -> RemoteClusterAware.splitIndexName(n)[1]).collect(Collectors.toSet());
0 commit comments