[
https://issues.apache.org/jira/browse/CALCITE-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Istvan Toth updated CALCITE-4121:
---------------------------------
Fix Version/s: (was: avatica-1.17.0)
Affects Version/s: avatica-1.17.0
> Avatica misplaces properties from URL while connecting
> ------------------------------------------------------
>
> Key: CALCITE-4121
> URL: https://issues.apache.org/jira/browse/CALCITE-4121
> Project: Calcite
> Issue Type: Bug
> Components: avatica
> Affects Versions: avatica-1.17.0
> Reporter: Gian Merlino
> Priority: Major
>
> Avatica's driver goes through some effort to extract properties from the JDBC
> URL, but then loses them because it doesn't pass them to the
> {{OpenConnectionRequest}}:
> https://github.com/apache/calcite-avatica/blob/4b7eee5bf430b916c7c07897b6f60d2b6b6dabb7/core/src/main/java/org/apache/calcite/avatica/remote/Driver.java#L163-L181.
> I think the fix should be passing {{conn.info}} instead of {{info}}, because
> URL properties are added to {{conn.info}} in {{super.connect(url, info)}}.
> The fix looks simple enough — any suggestions on the best way to add tests
> for it?
--
This message was sent by Atlassian Jira
(v8.3.4#803005)