[ 
https://issues.apache.org/jira/browse/HIVE-15708?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15843800#comment-15843800
 ] 

Julian Hyde commented on HIVE-15708:
------------------------------------

[~elserj], Do you agree or disagree that a factor here was that 
ConnectionConfig depends on types that are not simple -- specifically 
Service.Factory and AvaticaHttpClientFactory. I think the config API should 
have minimal dependencies, because everyone depends on it, and we don't want to 
drag optional stuff like protobuf and kerberos into the whole of Avatica. (Mea 
culpa, I started it, by adding {{Service.Factory factory()}} a long time ago.) 
But in Calcite's sub-interface, CalciteConnectionConfig, for similar config 
methods, I use things like {{<T> T factory(Class<T> factoryClass)}} and let the 
client specify the particular class.

> Upgrade calcite version to 1.11
> -------------------------------
>
>                 Key: HIVE-15708
>                 URL: https://issues.apache.org/jira/browse/HIVE-15708
>             Project: Hive
>          Issue Type: Task
>          Components: CBO, Logical Optimizer
>    Affects Versions: 2.2.0
>            Reporter: Ashutosh Chauhan
>            Assignee: Remus Rusanu
>         Attachments: HIVE-15708.01.patch, HIVE-15708.02.patch, 
> HIVE-15708.03.patch, HIVE-15708.04.patch
>
>
> Currently we are on 1.10 Need to upgrade calcite version to 1.11



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to