You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by GitBox <gi...@apache.org> on 2021/01/15 01:53:06 UTC

[GitHub] [incubator-pinot] HyunjoonCho opened a new issue #6444: Access Pinot through MyBatis

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


   Hello,
   
   I'm trying to access Pinot through Spring-MyBatis but having some trouble. 
   Came up with workaround for several steps, but having hard time redirecting execute() to executeQuery().
   While MyBatis Handler calls method execute() of prepared statement, Pinot only uses method executeQuery(); 
   execute(), execute(sql) and other calls throw exception.
   https://github.com/mybatis/mybatis-3/blob/master/src/main/java/org/apache/ibatis/executor/statement/PreparedStatementHandler.java#L64 
   
   I'm curious about this behavior of pinot prepared statement. 
   Intentionally blocked those access due to limited functionality of current jdbc client? 
   And any suggestion on workaround would be appreciated - tried to wrap prepared statement, connection and driver, but found out that constructor of PinotConnection is not public.
   
   Thanks


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-pinot] HyunjoonCho closed issue #6444: Query Pinot through MyBatis

Posted by GitBox <gi...@apache.org>.
HyunjoonCho closed issue #6444:
URL: https://github.com/apache/incubator-pinot/issues/6444


   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-pinot] fx19880617 commented on issue #6444: Query Pinot through MyBatis

Posted by GitBox <gi...@apache.org>.
fx19880617 commented on issue #6444:
URL: https://github.com/apache/incubator-pinot/issues/6444#issuecomment-761971763


   @KKcorps 
   Have you tried the pinot-jdbc-client?
   https://github.com/apache/incubator-pinot/tree/master/pinot-clients/pinot-jdbc-client
   https://mvnrepository.com/artifact/org.apache.pinot/pinot-jdbc-client
   


----------------------------------------------------------------
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:
users@infra.apache.org



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


[GitHub] [incubator-pinot] HyunjoonCho commented on issue #6444: Query Pinot through MyBatis

Posted by GitBox <gi...@apache.org>.
HyunjoonCho commented on issue #6444:
URL: https://github.com/apache/incubator-pinot/issues/6444#issuecomment-762231334


   Thanks for your comment, 
   yes I just solved it using jdbc client :) 


----------------------------------------------------------------
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:
users@infra.apache.org



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