jinxing64 opened a new pull request #1452: [CALCITE-3338] Error with 
executeBatch and preparedStatement when usi…
URL: https://github.com/apache/calcite/pull/1452
 
 
   …ng RemoteMeta
   
   Parameter values are not passed into `CalciteConnectionImpl#enumerable` when 
using `RemoteMeta`. In current impl of `CalciteConnectionImpl#enumerable`, it 
depends on calling `lookupStatement` and then get params from 
`AvaticaStatement`. But when it's a remote request,  `lookupStatement` will 
create a new `AvaticaStatement`. Thus params are lost.
   
   
https://github.com/apache/calcite-avatica/blob/master/core/src/main/java/org/apache/calcite/avatica/AvaticaConnection.java#L706

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to