dprmfl commented on code in PR #19231:
URL: https://github.com/apache/druid/pull/19231#discussion_r3256159390


##########
sql/src/main/java/org/apache/druid/sql/PreparedStatement.java:
##########
@@ -31,14 +31,25 @@
 public class PreparedStatement extends AbstractStatement
 {
   private final SqlQueryPlus originalRequest;
+  private final String remoteAddress;
 
   public PreparedStatement(
       final SqlToolbox lifecycleToolbox,
       final SqlQueryPlus queryPlus
   )
+  {
+    this(lifecycleToolbox, queryPlus, null);
+  }
+
+  public PreparedStatement(
+      final SqlToolbox lifecycleToolbox,
+      final SqlQueryPlus queryPlus,
+      final String remoteAddress
+  )
   {
     super(lifecycleToolbox, queryPlus, null);

Review Comment:
   Fixed 2 CI failures:                                                         
                                                                                
              
     - Added feat: prefix to PR title                                           
                                                                                
                
     - Added missing ConnectionMetaData mock to DruidAvaticaJsonHandlerTest 
(needed for remoteAddress collection) 
https://github.com/apache/druid/pull/19231/changes/440b7aa53af9df92a1b6adec58b24b05a8e3f9e5



-- 
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