Skip to content

Commit 0076963

Browse files
Clarify situation around the UNION reordering deprecation (#224)
Supersedes #219 --------- Co-authored-by: Reneta Popova <[email protected]>
1 parent bc9b2e2 commit 0076963

File tree

1 file changed

+7
-22
lines changed

1 file changed

+7
-22
lines changed

modules/ROOT/pages/notifications/all-notifications.adoc

Lines changed: 7 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1373,7 +1373,7 @@ a|
13731373
To continue using it, escape the identifier by adding backticks around the identifier `%s`.
13741374
- The character with the Unicode representation `%s` is deprecated for unescaped identifiers and will not be supported in the future.
13751375
To continue using it, escape the identifier by adding backticks around the identifier `%s`.
1376-
- All subqueries in a UNION [ALL] should have the same ordering for the return columns.
1376+
- label:new[Valid for Neo4j 5.5-5.25] All subqueries in a UNION [ALL] should have the same ordering for the return columns.
13771377
Using differently ordered return items in a UNION [ALL] clause is deprecated and will be removed in a future version.
13781378
- Databases and aliases with unescaped `.` are deprecated unless to indicate that they belong to a composite database.
13791379
Names containing `.` should be escaped. (`%s`)
@@ -1458,17 +1458,6 @@ Description of the returned code::
14581458
All subqueries in a UNION [ALL] should have the same ordering for the return columns.
14591459
Using differently ordered return items in a UNION [ALL] clause is deprecated and will be removed in a future version.
14601460

1461-
Suggestions for improvement::
1462-
Use the same order for the return columns in all subqueries combined by a `UNION` clause.
1463-
1464-
+
1465-
[source,cypher]
1466-
----
1467-
RETURN 'val' as one, 'val' as two
1468-
UNION
1469-
RETURN 'val' as one, 'val' as two
1470-
----
1471-
14721461
======
14731462
[.include-with-GQLSTATUS-code]
14741463
======
@@ -1489,19 +1478,15 @@ warn: feature deprecated.
14891478
All subqueries in a UNION [ALL] should have the same ordering for the return columns.
14901479
Using differently ordered return items in a UNION [ALL] clause is deprecated and will be removed in a future version.
14911480

1492-
Suggestions for improvement::
1493-
Use the same order for the return columns in all subqueries combined by a `UNION` clause.
1494-
1495-
+
1496-
[source,cypher]
1497-
----
1498-
RETURN 'val' as one, 'val' as two
1499-
UNION
1500-
RETURN 'val' as one, 'val' as two
1501-
----
15021481
======
15031482
=====
15041483

1484+
[NOTE]
1485+
====
1486+
Using differently ordered return items in a UNION [ALL] clause is deprecated in versions 5.5 to 5.25.
1487+
However, starting from version 5.26, the deprecation has been withdrawn following cost-benefit analysis and valuable user feedback.
1488+
====
1489+
15051490
.Using the Unicode \u0085 in an unescaped identifier
15061491
[.tabbed-example]
15071492
=====

0 commit comments

Comments
 (0)