Julian Hyde created CALCITE-1207:
------------------------------------

             Summary: 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)

Reply via email to