[
https://issues.apache.org/jira/browse/CALCITE-1207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15248776#comment-15248776
]
Julian Hyde commented on CALCITE-1207:
--------------------------------------
Working on a fix in https://github.com/julianhyde/calcite/tree/1121-druid.
> 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
>
> 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)