You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@calcite.apache.org by "Andrei Sereda (JIRA)" <ji...@apache.org> on 2018/06/01 21:18:00 UTC

[jira] [Commented] (CALCITE-2345) add tests using Fongo to Mongo Adapter

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

Andrei Sereda commented on CALCITE-2345:
----------------------------------------

[foodmart-data-json|https://github.com/julianhyde/foodmart-data-json] has many sets (big and small) and is available in maven central (contrary to zips ?). So I could re-use those.

The problem is that foodmart schema is not generic enough (relational). By generic, I mean having nested JSON structures like {foo: { bar: [1,2, 3] }}. That means I can't really test all use-cases (for document databases like ES / mongo).

I'm happy to consolidate IT and Unit tests. Let me know what approach you prefer.

> add tests using Fongo to Mongo Adapter
> --------------------------------------
>
>                 Key: CALCITE-2345
>                 URL: https://issues.apache.org/jira/browse/CALCITE-2345
>             Project: Calcite
>          Issue Type: Improvement
>            Reporter: Andrei Sereda
>            Assignee: Michael Mior
>            Priority: Major
>
> Better test coverage for unit tests using [Fongo|https://github.com/fakemongo/fongo] which is in-memory implementation of Mongo API.



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