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 18, 2024
1 parent d8afdd7 commit 47f54cb
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 47f54cb

Please sign in to comment.