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

sathishkumar commented on CALCITE-2426:
---------------------------------------

Thanks for the response and guiding me.

I have gone through the documentation for the help but in vain.

There is not enough help on mongodb stuff. Documentation doesn't really help me 
to create a view or joins. Could you please provide me some sample queries on 
creating a view and join queries. 

The calcite syntax on mongodb is hard to write queries. Need some sample 
queries to guide. Could you help.

> Calcite - mongodb - Returns row but no data displayed.
> ------------------------------------------------------
>
>                 Key: CALCITE-2426
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2426
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: sathishkumar
>            Assignee: Julian Hyde
>            Priority: Critical
>
> sqlline version 1.3.0
>  sqlline> !connect 
> jdbc:calcite:schemaFactory=org.apache.calcite.adapter.mongodb.MongoSchemaFactory;schema.host=localhost;schema.database=*****;
>  admin admin
>  0: jdbc:calcite:schemaFactory=org.apache.calc> !tables
>  
>  
> +------------+------------++------------------------++-------------------++-----------------------++--------------------
> |TABLE_CAT|TABLE_SCHEM|TABLE_NAME|TABLE_TYPE|REMARKS|TYPE_CAT|TYPE_SCHEM|TYPE_NAME|SELF_REFERENCING_C|
> +------------+------------++------------------------++-------------------++-----------------------++--------------------
> | |adhoc|company_preferences|TABLE| | | | | |
> | |adhoc|property|TABLE| | | | | |
> | |adhoc|templates|TABLE| | | | | |
> | |adhoc|user_preferences|TABLE| | | | | |
> *| | adhoc | users | TABLE | | | | | |*
> | |metadata|COLUMNS|SYSTEM TABLE| | | | | |
> | |metadata|TABLES|SYSTEM TABLE| | | | | |
> +------------+------------++------------------------++-------------------++-----------------------++--------------------
>  0: jdbc:calcite:schemaFactory=org.apache.calc> *select * from "users";*
>  +------+
> |_MAP|
> +------+
> | |
> +------+
>  *1 row selected (0.584 seconds)*
>  0: jdbc:calcite:schemaFactory=org.apache.calc>



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to