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 11, 2024
1 parent 5cd5038 commit 1dea3ab
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 1dea3ab

Please sign in to comment.