[
https://issues.apache.org/jira/browse/SOLR-8512?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15095545#comment-15095545
]
Kevin Risden commented on SOLR-8512:
------------------------------------
I can cleanup this patch and add some tests to TestSQLHandler and JdbcTest to
check this works in the test cases tomorrow.
>From the limited manual testing I did, the order was not lost when coming back
>from the JSONTupleStream. The order was kept since the LinkedHashMap was
>serialized/deserialized properly. I tried it with simple select, limit, and
>grouping manually in a debugger and it looked ok.
> Implement minimal set of get* methods in ResultSetImpl for column indices
> -------------------------------------------------------------------------
>
> Key: SOLR-8512
> URL: https://issues.apache.org/jira/browse/SOLR-8512
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: Trunk
> Reporter: Kevin Risden
> Attachments: sql-preserve-order.patch
>
>
> SQL clients use the proper get* methods on the ResultSet to return items to
> be displayed. At minimum, the following methods should be implemented for
> column index:
> * public Object getObject
> * public String getString
> * public boolean getBoolean
> * public short getShort
> * public int getInt
> * public long getLong
> * public float getFloat
> * public double getDouble
> * public BigDecimal getBigDecimal
> * public Date getDate
> * public Time getTime
> * public Timestamp getTimestamp
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]