Skip to content

Commit

Permalink
[misc] ensure metadata column name fastpath value
Browse files Browse the repository at this point in the history
  • Loading branch information
rusher committed Nov 21, 2019
1 parent 30e52a1 commit 1d92958
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public ColumnInformation(Buffer buffer) {
* @return ColumnInformation
*/
public static ColumnInformation create(String name, ColumnType type) {
byte[] nameBytes = name.getBytes();
byte[] nameBytes = name.getBytes(StandardCharsets.UTF_8);

byte[] arr = new byte[19 + 2 * nameBytes.length];
int pos = 0;
Expand Down

0 comments on commit 1d92958

Please sign in to comment.