You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Erik Hatcher (JIRA)" <ji...@apache.org> on 2015/09/02 03:03:45 UTC

[jira] [Commented] (SOLR-8002) Field aliases support for SQL queries

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

Erik Hatcher commented on SOLR-8002:
------------------------------------

[~susheel2777@gmail.com] - please provide an example configuration that demonstrates this issue.  I've used "as" clauses to successfully map field names so maybe this is a configuration issue rather than a bug?

> Field aliases support for SQL queries
> -------------------------------------
>
>                 Key: SOLR-8002
>                 URL: https://issues.apache.org/jira/browse/SOLR-8002
>             Project: Solr
>          Issue Type: New Feature
>          Components: search
>    Affects Versions: Trunk
>            Reporter: Susheel Kumar
>
> Currently field aliases are not supported for SQL queries against SQL Handler. E.g. below SQL query
>  select id,name as product_name from techproducts limit 20
> currently fails as data returned contains still "name" as the field/column key than product_name



--
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