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

In remote JDBC driver, transmit static database properties as a map

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: 1.3.0-incubating
    • Component/s: avatica
    • Labels:
      None

      Description

      A lot of DatabaseMetaData methods are not parameterized, and give the same answer every time. Some examples:

      • allProceduresAreCallable
      • getUserName
      • isReadOnly
      • getDatabaseProductName
      • getDatabaseProductVersion
      • getDriverName
      • getDriverVersion
      • getDriverMajorVersion
      • getDriverMinorVersion
      • getSqlKeywords
      • getNumericFunctions
      • getStringFunctions
      • getSystemFunctions
      • getTimeDateFunctions

      This task would define an enum of properties, add a method to Meta that returns (property, value) map.

      See DatabaseMetaData and Connection for the full list.

      Obsolete the following Meta methods:

      • getSqlKeywords
      • getNumericFunctions
      • getStringFunctions
      • getSystemFunctions
      • getTimeDateFunctions

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              julianhyde Julian Hyde
              Reporter:
              julianhyde Julian Hyde

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment