Skip to content

Commit

Permalink
fix test proxy i
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Dec 6, 2024
1 parent ad9fa48 commit 07c939a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ static Statement toStatement(ExecuteQueryRequest request) {
break;
case TIMESTAMP_TYPE:
if (value.getKindCase().equals(KindCase.KIND_NOT_SET)) {
statementBuilder.setTimestampParamInstant(name, null);
statementBuilder.setTimestampParam(name, null);
} else if (value.getKindCase().equals(KindCase.TIMESTAMP_VALUE)) {
Timestamp ts = value.getTimestampValue();
statementBuilder.setTimestampParamInstant(name, toInstant(ts));
statementBuilder.setTimestampParam(name, toInstant(ts));
} else {
throw new IllegalArgumentException("Malformed timestamp value: " + value);
}
Expand Down

0 comments on commit 07c939a

Please sign in to comment.