This is an automated email from the ASF dual-hosted git repository. stoty 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 27541c9 PHOENIX-6665 PreparedStatement#getMetaData() fails on parametrized "select next ? values for SEQ" (addendum: add test) 27541c9 is described below commit 27541c90120da12257a38480e647fac36e52427d Author: Istvan Toth <st...@apache.org> AuthorDate: Tue Mar 22 05:36:44 2022 +0100 PHOENIX-6665 PreparedStatement#getMetaData() fails on parametrized "select next ? values for SEQ" (addendum: add test) --- .../src/it/java/org/apache/phoenix/end2end/SequenceBulkAllocationIT.java | 1 + 1 file changed, 1 insertion(+) diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SequenceBulkAllocationIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SequenceBulkAllocationIT.java index bac1dec..5d26d2e 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/SequenceBulkAllocationIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/SequenceBulkAllocationIT.java @@ -1119,6 +1119,7 @@ public class SequenceBulkAllocationIT extends ParallelStatsDisabledIT { throws SQLException { PreparedStatement ps = conn.prepareStatement("SELECT NEXT ? VALUES FOR " + sequenceName + " "); + ps.getMetaData(); // check for PHOENIX-6665 ps.setLong(1, numSlotToAllocate); ResultSet rs = ps.executeQuery(); assertTrue(rs.next());