Skip to content

Commit

Permalink
fix: set the correct TypeCode
Browse files Browse the repository at this point in the history
  • Loading branch information
larkee committed Dec 13, 2024
1 parent b881e80 commit 1ac1f07
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3115,7 +3115,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:
Expand Down

0 comments on commit 1ac1f07

Please sign in to comment.