Skip to content

Commit ea69cf0

Browse files
gjmwoodsrenetapopova
authored andcommitted
Add notification warning for vector on incompatible client
1 parent ff5cbb2 commit ea69cf0

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

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 a feature which is not supported in the current context that has been used to access the feature.
1225+
1226+
[#_neo_clientnotification_request_UnsupportedType]
1227+
=== Client does not support 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
1244+
`{ <<valueType>> }`. Please upgrade your client.
1245+
|Classification
1246+
m|UNSUPPORTED
1247+
|SeverityLevel
1248+
m|WARNING
1249+
|===
1250+
1251+
.Accessing a Vector with 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 to a supported client for the 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 to a supported client for the type.
1283+
======
1284+
=====
1285+
1286+
12201287
[#_deprecated_notifications]
12211288
== `DEPRECATION` notifications
12221289

0 commit comments

Comments
 (0)