singhalprerana opened a new issue #6834:
URL: https://github.com/apache/incubator-pinot/issues/6834


   Sample pinot query : `select * from table where team in (?, ?, ?)`.. 
   Now say parameters are: `'abc'`, `'pqr with (?)'` and `'xyz'`..
   Now, on executing `PreparedStatement:fillStatementWithParameters` method on 
this will return `select * from table where team in ('abc', 'pqr with ('xyz')', 
?)` -- which is clearly wrong (what we wanted was `select * from table where 
team in ('abc', 'pqr with (?)', 'xyz)`)..
   The reason is the usage of `replaceFirst` iteration in the method..


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

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@pinot.apache.org
For additional commands, e-mail: commits-h...@pinot.apache.org

Reply via email to