This is an automated email from the ASF dual-hosted git repository. stoty pushed a commit to branch 4.16 in repository https://gitbox.apache.org/repos/asf/phoenix.git
The following commit(s) were added to refs/heads/4.16 by this push: new ea972b9 PHOENIX-6665 PreparedStatement#getMetaData() fails on parametrized "select next ? values for SEQ" (addendum: add test) ea972b9 is described below commit ea972b965d149aee0d5302a80fdb2e073a0109e8 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());