From 07c939aa6ebe41fe959affa623eedd0f69ba3da3 Mon Sep 17 00:00:00 2001 From: Diego Alonso Marquez Palacios Date: Fri, 6 Dec 2024 13:59:56 -0500 Subject: [PATCH] fix test proxy i --- .../cloud/bigtable/testproxy/StatementDeserializer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java b/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java index b0d5a4d34..4eb5f47e3 100644 --- a/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java +++ b/test-proxy/src/main/java/com/google/cloud/bigtable/testproxy/StatementDeserializer.java @@ -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); }