You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2018/04/03 02:44:00 UTC

[jira] [Commented] (SOLR-9852) Solr JDBC doesn't implement columns' metadata

    [ https://issues.apache.org/jira/browse/SOLR-9852?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423399#comment-16423399 ] 

Kevin Risden commented on SOLR-9852:
------------------------------------

The ODBC bridge I got working is detailed here: [https://github.com/risdenk/solrj-jdbc-testing/tree/master/odbc]

 

Slide 20 of [https://www.slideshare.net/lucidworks/solr-jdbc-presented-by-kevin-risden-avalon-consulting] has some detail. The recording is here: https://www.youtube.com/watch?v=XpWomATSKzM

> Solr JDBC doesn't implement columns' metadata
> ---------------------------------------------
>
>                 Key: SOLR-9852
>                 URL: https://issues.apache.org/jira/browse/SOLR-9852
>             Project: Solr
>          Issue Type: Bug
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Parallel SQL
>    Affects Versions: 6.3
>         Environment: N/A
>            Reporter: Rani Y.
>            Priority: Major
>              Labels: solrJ
>
> This is the error I get (from Squirrel SQL) while trying to get the objects -meaning both tables and columns metadata
> 2016-12-12 13:47:48,241 [Thread-2] ERROR net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo  - Error occurred creating data types collection
> java.lang.UnsupportedOperationException
> 	at org.apache.solr.client.solrj.io.sql.DatabaseMetaDataImpl.getTypeInfo(DatabaseMetaDataImpl.java:773)
> 	at net.sourceforge.squirrel_sql.fw.sql.SQLDatabaseMetaData.getDataTypesSimpleNames(SQLDatabaseMetaData.java:1978)
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.loadDataTypes(SchemaInfo.java:900)
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.privateLoadAll(SchemaInfo.java:315)
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.reloadAll(SchemaInfo.java:208)
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.reloadAll(SchemaInfo.java:198)
> 	at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree$3.run(ObjectTree.java:315)
> 	at net.sourceforge.squirrel_sql.fw.util.TaskExecuter.run(TaskExecuter.java:82)
> 	at java.lang.Thread.run(Thread.java:745)



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org