Skip to content

Commit 7a05731

Browse files
bpinteajrodewig
authored andcommitted
Docs: add known issue 65488 - SQL ignoring non-eq (#65492)
* Docs: add known issue 65488 - SQL ignoring non-eq Add description of the #65488 known issue in release notes.
1 parent 3bf70f9 commit 7a05731

File tree

3 files changed

+100
-0
lines changed

3 files changed

+100
-0
lines changed

docs/reference/release-notes/7.7.asciidoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33

44
Also see <<breaking-changes-7.7,Breaking changes in 7.7>>.
55

6+
[[known-issues-7.7.1]]
7+
[discrete]
8+
=== Known issues
9+
10+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
11+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
12+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
13+
inequality will be ignored. The workaround is to substitute the inequality
14+
with a `NOT IN` operator.
15+
+
16+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
17+
see {es-issue}65488[#65488].
18+
619
[[enhancement-7.7.1]]
720
[discrete]
821
=== Enhancements
@@ -135,6 +148,19 @@ SQL::
135148

136149
Also see <<breaking-changes-7.7,Breaking changes in 7.7>>.
137150

151+
[[known-issues-7.7.0]]
152+
[discrete]
153+
=== Known issues
154+
155+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
156+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
157+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
158+
inequality will be ignored. The workaround is to substitute the inequality
159+
with a `NOT IN` operator.
160+
+
161+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
162+
see {es-issue}65488[#65488].
163+
138164
[[breaking-7.7.0]]
139165
[discrete]
140166
=== Breaking changes

docs/reference/release-notes/7.8.asciidoc

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33

44
Also see <<breaking-changes-7.8,Breaking changes in 7.8>>.
55

6+
[[known-issues-7.8.1]]
7+
[discrete]
8+
=== Known issues
9+
10+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
11+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
12+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
13+
inequality will be ignored. The workaround is to substitute the inequality
14+
with a `NOT IN` operator.
15+
+
16+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
17+
see {es-issue}65488[#65488].
18+
619
[[breaking-7.8.1]]
720
[discrete]
821
=== Breaking changes
@@ -147,6 +160,19 @@ Infra/Core::
147160

148161
Also see <<breaking-changes-7.8,Breaking changes in 7.8>>.
149162

163+
[[known-issues-7.8.0]]
164+
[discrete]
165+
=== Known issues
166+
167+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
168+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
169+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
170+
inequality will be ignored. The workaround is to substitute the inequality
171+
with a `NOT IN` operator.
172+
+
173+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
174+
see {es-issue}65488[#65488].
175+
150176
[[breaking-7.8.0]]
151177
[discrete]
152178
=== Breaking changes

docs/reference/release-notes/7.9.asciidoc

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33

44
Also see <<breaking-changes-7.9,Breaking changes in 7.9>>.
55

6+
[[known-issues-7.9.3]]
7+
[discrete]
8+
=== Known issues
9+
10+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
11+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
12+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
13+
inequality will be ignored. The workaround is to substitute the inequality
14+
with a `NOT IN` operator.
15+
+
16+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
17+
see {es-issue}65488[#65488].
18+
619
[[bug-7.9.3]]
720
[float]
821
=== Bug fixes
@@ -68,6 +81,19 @@ Infra/Packaging::
6881

6982
Also see <<breaking-changes-7.9,Breaking changes in 7.9>>.
7083

84+
[[known-issues-7.9.2]]
85+
[discrete]
86+
=== Known issues
87+
88+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
89+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
90+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
91+
inequality will be ignored. The workaround is to substitute the inequality
92+
with a `NOT IN` operator.
93+
+
94+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
95+
see {es-issue}65488[#65488].
96+
7197
[[deprecation-7.9.2]]
7298
[float]
7399
=== Deprecations
@@ -164,6 +190,19 @@ Infra/Packaging::
164190

165191
Also see <<breaking-changes-7.9,Breaking changes in 7.9>>.
166192

193+
[[known-issues-7.9.1]]
194+
[discrete]
195+
=== Known issues
196+
197+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
198+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
199+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
200+
inequality will be ignored. The workaround is to substitute the inequality
201+
with a `NOT IN` operator.
202+
+
203+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
204+
see {es-issue}65488[#65488].
205+
167206
[[feature-7.9.1]]
168207
[float]
169208
=== New features
@@ -312,6 +351,15 @@ Full details of the mitigations are in
312351
https://github.com/apache/lucene-solr/pull/1779[fix] in Lucene 8.6.2 to
313352
deliver in Elasticsearch 7.9.1 that will address this memory leak.
314353

354+
* SQL: If a `WHERE` clause contains at least two relational operators joined by
355+
`AND`, of which one is a comparison (`<=`, `<`, `>=`, `>`) and another one is
356+
an inequality (`!=`, `<>`), both against literals or foldable expressions, the
357+
inequality will be ignored. The workaround is to substitute the inequality
358+
with a `NOT IN` operator.
359+
+
360+
We have fixed this issue in {es} 7.10.1 and later versions. For more details,
361+
see {es-issue}65488[#65488].
362+
315363
[[breaking-7.9.0]]
316364
[discrete]
317365
=== Breaking changes

0 commit comments

Comments
 (0)