lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rani Y. (JIRA)" <>
Subject [jira] [Commented] (SOLR-9852) Solr JDBC doesn't implement columns' metadata
Date Tue, 13 Dec 2016 07:20:58 GMT


Rani Y. commented on SOLR-9852:

I am quite sure this is something which should be implemented by JDBC.
Unless you assume that the users of the JDBC know all the columns of a given collection/table,
there should be an implementation to getting the columns data and types.
If I understand correctly is was implemented just not in the write places, because after a
query returns, there is an ability to see the columns types.
Receiving the meta-data of all objects is the "entry level" for JDBC implementations.
Though, it does seem quite weird, that also the Spark's JDBC implementors are having similar

> Solr JDBC doesn't implement columns' metadata
> ---------------------------------------------
>                 Key: SOLR-9852
>                 URL:
>             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.
>              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
> 	at net.sourceforge.squirrel_sql.fw.sql.SQLDatabaseMetaData.getDataTypesSimpleNames(
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.loadDataTypes(
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.privateLoadAll(
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.reloadAll(
> 	at net.sourceforge.squirrel_sql.client.session.schemainfo.SchemaInfo.reloadAll(
> 	at net.sourceforge.squirrel_sql.client.session.mainpanel.objecttree.ObjectTree$
> 	at
> 	at

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message