Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-8502

Improve Solr JDBC Driver to support SQL Clients like DBVisualizer

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Implemented
    • 6.0
    • 6.0
    • SolrJ

    Description

      Currently when trying to connect to Solr with the JDBC driver with a SQL client the driver must implement more methods and metadata to allow connections. This JIRA is designed to act as an umbrella for the JDBC changes.

      An initial pass from a few months ago is here: https://github.com/risdenk/lucene-solr/tree/expand-jdbc. This needs to be broken up and create patches for the related sub tasks.

      Attachments

        1. screenshot-1.png
          1.44 MB
          Kevin Risden
        2. screenshot-2.png
          1.42 MB
          Kevin Risden
        3. screenshot-3.png
          1.45 MB
          Kevin Risden
        4. screenshot-4.png
          1.46 MB
          Kevin Risden
        5. connection-screen-shot.png
          1.14 MB
          Joel Bernstein
        6. driver-setup.png
          1.22 MB
          Joel Bernstein
        7. connection-working!.png
          789 kB
          Joel Bernstein
        8. aggregation-query.png
          990 kB
          Joel Bernstein

        Issue Links

        1.
        Implement org.apache.solr.client.solrj.io.sql.ConnectionImpl.getMetaData and getCatalog Sub-task Closed Unassigned Actions
        2.
        Implement DatabaseMetaDataImpl.getDatabaseMajorVersion and DatabaseMetaDataImpl.getDatabaseMinorVersion() Sub-task Closed Unassigned Actions
        3.
        Determine test strategy and add tests for JDBC driver metadata. Sub-task Closed Unassigned Actions
        4.
        Implement DatabaseMetaDataImpl.getURL() Sub-task Closed Unassigned Actions
        5.
        Implement ResultSetImpl.getMetaData() Sub-task Closed Unassigned Actions
        6.
        Implement StatementImpl.getConnection Sub-task Closed Joel Bernstein Actions
        7.
        Implement ResultSetImpl.getStatement Sub-task Closed Unassigned Actions
        8.
        Implement StatementImpl.execute(String sql), StatementImpl.getResultSet(), and StatementImpl.getUpdateCount() Sub-task Closed Joel Bernstein Actions
        9.
        Implement ConnectionImpl,StatementImpl,ResultSetImpl clearWarnings and getWarnings Sub-task Resolved Unassigned Actions
        10.
        Implement ResultSetMetaDataImpl.getColumnCount() Sub-task Resolved Unassigned Actions
        11.
        Implement minimal set of get* methods in ResultSetImpl for column names Sub-task Resolved Unassigned Actions
        12.
        Implement minimal set of get* methods in ResultSetImpl for column indices Sub-task Resolved Unassigned Actions
        13.
        Implement ResultSetMetaDataImpl getColumnType and getColumnTypeName Sub-task Resolved Unassigned Actions
        14.
        Implement ResultSetMetaDataImpl getColumnLabel(int column) and getColumnDisplaySize(int column) Sub-task Resolved Unassigned Actions
        15.
        Implement ConnectionImpl.isValid() and DatabaseMetaDataImpl.getConnection() Sub-task Resolved Joel Bernstein Actions
        16.
        Implement ResultSetImpl.wasNull() Sub-task Resolved Joel Bernstein Actions
        17.
        Implement StatementImpl.getMoreResults() Sub-task Resolved Unassigned Actions
        18.
        Implement DatabaseMetaDataImpl.getCatalogs() Sub-task Resolved Unassigned Actions
        19.
        Implement DatabaseMetaDataImpl.getSchemas() Sub-task Resolved Unassigned Actions
        20.
        Throw UnsupportedOperationException for DatabaseMetaDataImpl.getTypeInfo() Sub-task Resolved Unassigned Actions
        21.
        Add information about database product name, product version, driver name, and driver version. Sub-task Resolved Unassigned Actions
        22.
        Implement ConnectionImpl setCatalog and setSchema Sub-task Resolved Unassigned Actions

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            krisden Kevin Risden
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment