You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Vijay Kumar j (JIRA)" <ji...@apache.org> on 2016/06/23 17:22:16 UTC

[jira] [Created] (METAMODEL-1098) User should be able to create multiple tables in JSON connector in case of json hierarchy structure

Vijay Kumar j created METAMODEL-1098:
----------------------------------------

             Summary: User should be able to create multiple tables in JSON connector in case of json hierarchy structure
                 Key: METAMODEL-1098
                 URL: https://issues.apache.org/jira/browse/METAMODEL-1098
             Project: Apache MetaModel
          Issue Type: Improvement
    Affects Versions: 4.5.3
            Reporter: Vijay Kumar j
             Fix For: 4.5.4


Sample JSON 
{code}
{ "name": "VJ",
                "age": 29,
                "accounts": [{
                                "type": "Saving",
                                "name": "HDFC"}, {
                                "type": "Current",
                                "name": "SBI"}]}
{code}
Use case - Wanted to define two table out of above json with following fields

*         Employee - name & age

*         Accounts - name & type

So that user can fetch either data of employee or account or both using joins. I tried below code but it's not working
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)