[ 
https://issues.apache.org/jira/browse/CALCITE-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hongze Zhang closed CALCITE-1207.
---------------------------------

The issue was resolved but not closed in the given fix version. Closing now.

> Allow numeric connection properties, and 'K', 'M', 'G' suffixes
> ---------------------------------------------------------------
>
>                 Key: CALCITE-1207
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1207
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>            Priority: Major
>             Fix For: avatica-1.8.0
>
>
> Allow numeric connection properties. These means adding NUMBER to enum 
> ConnectionProperty.Type, and getInt, getLong and getDouble methods to 
> ConnectionConfigImpl.PropEnv.
> If a numeric property has a value "10k" interpret it as 10 * 1024. The "k" or 
> "K" suffix means 1024 multiplier, similarly "m" or "M" (1024 * 1024), "g" or 
> "G" (1024 * 1024 * 1024).



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to