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

Joel Bernstein commented on SOLR-8518:
--------------------------------------

Using the approach where we look at the column types of the first real Tuple 
means that numerics will always be either a long or a double. From a practical 
standpoint this approach is very fast and it will work fine with visualization 
clients. As the implementation matures we can look at ways to cache the real 
types in the SQLHandler and return it with the meta-data tuple.

> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to