Skip to content

Commit 57ceb3d

Browse files
Add notification warning for vector on incompatible client (#392)
Co-authored-by: Reneta Popova <[email protected]>
1 parent d5df685 commit 57ceb3d

File tree

2 files changed

+79
-0
lines changed

2 files changed

+79
-0
lines changed

modules/ROOT/pages/changelogs.adoc

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
11
:description: This page lists all changes to status codes per Neo4j version.
22
= Changes to status codes per Neo4j version
33

4+
== Neo4j 2025.11
5+
**New:**
6+
[options="header", cols="<1m,<1"]
7+
|===
8+
| GQLSTATUS
9+
| Neo4j code
10+
11+
| 01N83
12+
| Neo.ClientNotification.Request.UnsupportedType
13+
14+
|===
15+
416
== Neo4j 2025.01
517
**New:**
618
[options="header", cols="<1m,<1"]

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

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ The following page provides an overview of all notifications in Neo4j, including
88
* <<_performance_notifications, `PERFORMANCE` notifications>>
99
* <<_hint_notifications, `HINT` notifications>>
1010
* <<_unrecognized_notifications, `UNRECOGNIZED` notifications>>
11+
* <<_unsupported_notifications, `UNSUPPORTED` notifications>>
1112
* <<_deprecated_notifications, `DEPRECATION` notifications>>
1213
* <<_security_notifications, `SECURITY` notifications>>
1314
* <<_topology_notifications, `TOPOLOGY` notifications>>
@@ -1217,6 +1218,72 @@ The query contains an aggregation function that skips null values.
12171218
======
12181219
=====
12191220

1221+
[#_unsupported_notifications]
1222+
== `UNSUPPORTED` notifications
1223+
1224+
Unsupported notifications contain information about features not supported in the current context used to access them.
1225+
1226+
[#_neo_clientnotification_request_UnsupportedType]
1227+
=== Unsupported value type
1228+
1229+
.Notification details
1230+
[cols="<1s,<4"]
1231+
|===
1232+
|Neo4j code
1233+
m|Neo.ClientNotification.Request.UnsupportedType
1234+
|Title
1235+
a|Client does not support this type.
1236+
|Description
1237+
|One or more values returned could not be handled by this version of the client and were replaced with placeholder map values. Please upgrade your client.
1238+
|Category
1239+
m|UNSUPPORTED
1240+
|GQLSTATUS code
1241+
m|01N83
1242+
|Status description
1243+
a|warn: Client does not support this type. Client does not support type `{ <<valueType>> }`.
1244+
Please upgrade your client.
1245+
|Classification
1246+
m|UNSUPPORTED
1247+
|SeverityLevel
1248+
m|WARNING
1249+
|===
1250+
1251+
.Accessing a vector with an unsupported driver (e.g., 5.x driver)
1252+
[.tabbed-example]
1253+
=====
1254+
[.include-with-GQLSTATUS-code]
1255+
======
1256+
Query::
1257+
+
1258+
[source,cypher]
1259+
----
1260+
RETURN VECTOR([1, 2, 3], 3, INTEGER32)
1261+
----
1262+
1263+
Returned GQLSTATUS code::
1264+
01N83
1265+
1266+
Returned status description::
1267+
warn: Client does not support this type. Client does not support type `VECTOR`. Please upgrade your client.
1268+
Suggestions for improvement::
1269+
Upgrade your client to a version that supports this type.
1270+
======
1271+
[.include-with-neo4j-code]
1272+
======
1273+
Query::
1274+
1275+
[source,cypher]
1276+
----
1277+
RETURN VECTOR([1, 2, 3], 3, INTEGER32)
1278+
----
1279+
Description of the returned code::
1280+
One or more values returned could not be handled by this version of the client and were replaced with placeholder map values. Please upgrade your client.
1281+
Suggestions for improvement::
1282+
Upgrade your client to a version that supports this type.
1283+
======
1284+
=====
1285+
1286+
12201287
[#_deprecated_notifications]
12211288
== `DEPRECATION` notifications
12221289

0 commit comments

Comments
 (0)