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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • avatica-1.8.0
    • None
    • 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

            julianhyde Julian Hyde
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: