We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b0ae68 commit 2130f52Copy full SHA for 2130f52
google-cloud-spanner/src/main/java/com/google/cloud/spanner/BatchClientImpl.java
@@ -297,8 +297,7 @@ public List<Partition> partitionQuery(
297
}
298
299
void maybeMarkUnimplementedForPartitionedOps(SpannerException spannerException) {
300
- if (spannerException.getErrorCode() == ErrorCode.INVALID_ARGUMENT
301
- && MultiplexedSessionDatabaseClient.verifyErrorMessage(
+ if (MultiplexedSessionDatabaseClient.verifyErrorMessage(
302
spannerException,
303
"Partitioned operations are not supported with multiplexed sessions")) {
304
unimplementedForPartitionedOps.set(true);
0 commit comments