You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kevin Risden (JIRA)" <ji...@apache.org> on 2016/04/20 16:51:25 UTC
[jira] [Commented] (SOLR-8847) SolrJ JDBC - Implement "Select *"
[ https://issues.apache.org/jira/browse/SOLR-8847?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250027#comment-15250027 ]
Kevin Risden commented on SOLR-8847:
------------------------------------
[~cahilltr] - Some initial comments:
Can this logic be pulled out into a helper method or better yet use the SQL parser to detect this case instead of manually doing it?
{code}
(sql.contains("*") && !sql.contains("(*)"))
{code}
Is it possible to avoid making a new CloudSolrClient and using the solrclientcache?
> SolrJ JDBC - Implement "Select *"
> ----------------------------------
>
> Key: SOLR-8847
> URL: https://issues.apache.org/jira/browse/SOLR-8847
> Project: Solr
> Issue Type: Sub-task
> Components: SolrJ
> Affects Versions: master, 6.0
> Reporter: Trey Cahill
> Assignee: Kevin Risden
> Attachments: SOLR-8847.patch, SOLR-8847.patch
>
>
> The sql query "Select *" is commonly used, but currently all fields need to be specified. This can cause some troubles as "Select *" has been used to pull back column metadata in some JDBC clients.
--
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