You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@calcite.apache.org by GitBox <gi...@apache.org> on 2021/11/22 20:56:22 UTC

[GitHub] [calcite-avatica] LakshSingla commented on pull request #162: [CALCITE-4121] Driver misplaces properties from URL while connecting (Laksh Singla)

LakshSingla commented on pull request #162:
URL: https://github.com/apache/calcite-avatica/pull/162#issuecomment-975910829


   Thanks for the insightful comment @joshelser. Before I try to make any code changes, I wanted to check if my understanding is correct.
   
   There are 2 types of properties:
   1. Those which define how the Avatica driver communicates with the database. 
   2. Custom properties from the Avatica client to the server.
   
   According to your comment, it seems that the first set of properties could be passed in a) JDBC URL or b). While getting the connection from DriverManager as `DriverManager.getConnection(url, PROPERTIES)`, but there is no provision for setting the second set of __custom__ properties from client to the DB. As per my understanding however, the second set of __custom__ properties can be passed in the properties object, but not via the URL. 
   Is this behaviour intentional or accidental? 


-- 
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: commits-unsubscribe@calcite.apache.org

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