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

Implement metadata requests in remote JDBC driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • avatica
    • None

    Description

      The remote JDBC driver supports getCatalogs() and getSchemas(), via requests CatalogsRequest and SchemasRequest. We need to implement more methods:

      • getTables
      • getColumns
      • getTableTypes
      • getProcedures
      • getProcedureColumns
      • getColumnPrivileges
      • getTablePrivileges
      • getBestRowIdentifier
      • getVersionColumns
      • getPrimaryKeys
      • getImportedKeys
      • getExportedKeys
      • getCrossReference
      • getTypeInfo
      • getIndexInfo
      • getUDTs
      • getSuperTypes
      • getSuperTables
      • getAttributes
      • getClientInfoProperties
      • getFunctions
      • getFunctionColumns
      • getPseudoColumns

      Many of these will return empty sets when run against Calcite, because Calcite doesn't override the MetaImpl, and the default implementation returns empty. That's OK. This task is just to create the plumbing from client to server.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: