[
https://issues.apache.org/jira/browse/CALCITE-4121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Josh Elser reassigned CALCITE-4121:
-----------------------------------
Assignee: Laksh Singla
> 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
> Assignee: Laksh Singla
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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.20.1#820001)