This is an automated email from the ASF dual-hosted git repository.
vjasani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/master by this push:
new f46f855d3a PHOENIX-7651 ADDENDUM for UpsertValuesIT
f46f855d3a is described below
commit f46f855d3adedcecc3facfc079b26cc6686e3958
Author: Viraj Jasani <[email protected]>
AuthorDate: Tue Aug 19 12:37:09 2025 -0700
PHOENIX-7651 ADDENDUM for UpsertValuesIT
---
.../src/it/java/org/apache/phoenix/end2end/UpsertValuesIT.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git
a/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertValuesIT.java
b/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertValuesIT.java
index d1e5b33e8e..e2a6ac2cee 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertValuesIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/UpsertValuesIT.java
@@ -125,6 +125,12 @@ public class UpsertValuesIT extends
ParallelStatsDisabledIT {
assertEquals("a", rs.getString(1));
assertEquals("b", rs.getString(2));
assertFalse(rs.next());
+ stmt = conn.prepareStatement("UPSERT INTO " + tableName
+ + " (inst,host,\"DATE\") VALUES(?,'b',CURRENT_DATE())");
+ stmt.setString(1, "a");
+ stmt.execute();
+ rs = stmt.getResultSet();
+ assertNull(rs);
conn.close();
}