[
https://issues.apache.org/jira/browse/CALCITE-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Julian Hyde resolved CALCITE-1207.
----------------------------------
Resolution: Fixed
Fix Version/s: avatica-1.8.0
Fixed in http://git-wip-us.apache.org/repos/asf/calcite/commit/dc553607.
> 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
> 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
(v6.3.4#6332)