Skip to content

Commit edf69b3

Browse files
committed
Clarify comment
1 parent 8db7bd9 commit edf69b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/session/IndexResolver.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ public IndexResolver(Client client) {
9797
* version from the field caps response. It's meant to be the minimum version determined when resolving {@code FROM}
9898
* and is required to correctly resolve {@code ENRICH} queries in CCS (enrich policies are resolved locally and thus
9999
* might have a higher transport version in their field caps response than when resolving the main indices in {@code FROM}).
100-
* In case of {@code ROW}, it's also okay to pass in the version from the main index resolution; that will be the coordinator
101-
* version, which cannot be higher than the minimum version from the field caps response.
100+
* When resolving {@code ENRICH} after {@code ROW}, it's also okay to pass in the version from the main index resolution;
101+
* that will be the coordinator version, which cannot be higher than the minimum version from the field caps response.
102102
* <p>
103103
* The overall minimum version which is used to determine data type support is passed on to the listener.
104104
*/

0 commit comments

Comments
 (0)