diff --git a/google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudClientExecutor.java b/google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudClientExecutor.java index 07e0b894c1..219b795b67 100644 --- a/google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudClientExecutor.java +++ b/google-cloud-spanner-executor/src/main/java/com/google/cloud/executor/spanner/CloudClientExecutor.java @@ -3117,7 +3117,7 @@ private com.google.spanner.executor.v1.ValueList buildStruct(StructReader struct } value.setArrayValue(builder.build()); value.setArrayType( - com.google.spanner.v1.Type.newBuilder().setCode(TypeCode.JSON).build()); + com.google.spanner.v1.Type.newBuilder().setCode(TypeCode.STRUCT).build()); } break; default: