Skip to content

Commit

Permalink
[fix](partitionkey) keep date type for partitionkey
Browse files Browse the repository at this point in the history
  • Loading branch information
dataroaring committed Jul 4, 2024
1 parent d38693f commit c6162c6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -627,7 +627,7 @@ public PartitionKey deserialize(JsonElement json, java.lang.reflect.Type typeOfT
case DATETIMEV2: {
String value = typeAndKey.get(1).getAsString();
try {
literal = new DateLiteral(value);
literal = new DateLiteral(value, type);
} catch (AnalysisException e) {
throw new JsonParseException("DateLiteral deserialize failed: " + e.getMessage());
}
Expand Down

0 comments on commit c6162c6

Please sign in to comment.