Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-1207

Allow numeric connection properties, and 'K', 'M', 'G' suffixes

VotersWatch issueWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: avatica-1.8.0
    • Component/s: None
    • Labels:
      None

      Description

      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).

        Attachments

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment