[ https://issues.apache.org/jira/browse/SOLR-8518?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15117294#comment-15117294
]
Kevin Risden commented on SOLR-8518:
------------------------------------
Well a very rough DBVisualizer is currently working as of SOLR-8512 getting committed. There
are some "errors" that get printed about getting catalog/schema info and some other minor
things.
As far as this ticket, I think the catalog and getColumnType/getColumnTypeName are going to
have to both be implemented separately. There are fields can be created by a query (ie: concat,
constants, aliases) that won't match what the schema says. Using the first tuple is the only
sure way to get the proper types returned from a query I think.
> Implement ResultSetMetaDataImpl getColumnType and getColumnTypeName
> -------------------------------------------------------------------
>
> Key: SOLR-8518
> URL: https://issues.apache.org/jira/browse/SOLR-8518
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: Trunk
> Reporter: Kevin Risden
> Attachments: SOLR-8518.patch
>
>
> DBVisualizer uses getColumnType and getColumnTypeName to determine which ResultSetImpl.get*
method to use when displaying the data otherwise it falls back to ResultSetImpl.getObject.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org