You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Julian Hyde (JIRA)" <ji...@apache.org> on 2015/07/05 18:04:04 UTC
[jira] [Updated] (CALCITE-782) Mongo Groups missing values
[ https://issues.apache.org/jira/browse/CALCITE-782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Julian Hyde updated CALCITE-782:
--------------------------------
Fix Version/s: next
> Mongo Groups missing values
> ---------------------------
>
> Key: CALCITE-782
> URL: https://issues.apache.org/jira/browse/CALCITE-782
> Project: Calcite
> Issue Type: Bug
> Affects Versions: 1.4.0-incubating
> Reporter: Tom Barber
> Assignee: Julian Hyde
> Fix For: next
>
>
> If you do something like:
> select count("collection"."_id") as "m0" , "collection"."registeredYear" as "c0", "collection"."registeredQuarter" as "c1" from "collection" as "collection" where "collection"."registeredYear" = 2015 group by "collection"."registeredQuarter", "collection"."registeredYear";
> registeredYear isn't added to the $project: clause and so isn't returned by mongo.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)