Skip to content

Commit

Permalink
Update partiql-spi/src/main/java/org/partiql/spi/value/Datum.java
Browse files Browse the repository at this point in the history
Co-authored-by: Alan Cai <caialan@amazon.com>
  • Loading branch information
rchowell and alancai98 authored Oct 2, 2024
1 parent 03e2cc8 commit fa75be0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion partiql-spi/src/main/java/org/partiql/spi/value/Datum.java
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ static Datum character(@NotNull String value, int length) {
} else {
newValue = value.substring(0, length);
}
return new DatumString(newValue, PType.varchar(length));
return new DatumString(newValue, PType.character(length));
}

@NotNull
Expand Down

0 comments on commit fa75be0

Please sign in to comment.