clintropolis commented on code in PR #14236:
URL: https://github.com/apache/druid/pull/14236#discussion_r1189159753


##########
sql/src/test/java/org/apache/druid/sql/avatica/DruidAvaticaHandlerTest.java:
##########
@@ -1260,6 +1260,26 @@
     }
   }
 
+  @Test
+  public void testNamedParameterBinding() throws SQLException
+  {
+    try (PreparedStatement statement = client.prepareStatement("SELECT 
COUNT(*) AS cnt FROM druid.foo WHERE dim1 = :val OR dim1 = :otherval")) {
+      statement.setString(1, "abc");
+      statement.setString(2, "def");
+      Map<String, Object> namedParamMap = new HashMap<>();

Review Comment:
   accidentally pushed an experiment that i never meant to commit 😅 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to