[
https://issues.apache.org/jira/browse/SOLR-8519?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15114428#comment-15114428
]
Joel Bernstein commented on SOLR-8519:
--------------------------------------
That's another option. If we add a header from the SQLHandler that would work
as well. Or we could make the first tuple from the SQLHandler be the header
tuple. In all three scenarios we would want a flag to turn this header off and
on. The JDBC driver would always have the header on. Clients using the HTTP
interface could turn it off or on.
So here are the three options:
1) Add the meta-data to first tuple real tuple in the result set.
2) Have the first tuple in the result set be a meta-data tuple.
3) Add a header to the json with meta-data.
I think #1 is the easiest path forward.
> Implement ResultSetMetaDataImpl.getColumnCount()
> ------------------------------------------------
>
> Key: SOLR-8519
> URL: https://issues.apache.org/jira/browse/SOLR-8519
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: Trunk
> Reporter: Kevin Risden
> Attachments: SOLR-8519.patch, SOLR-8519.patch
>
>
> DBVisualizer uses getColumnCount to determine how many columns to try to
> display from the result.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]