metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kasper Sørensen (JIRA) <j...@apache.org>
Subject [jira] [Commented] (METAMODEL-92) ColumnNameAsKeysRowConverter should be able to traverse nested columns
Date Fri, 07 Nov 2014 20:48:35 GMT

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

Kasper Sørensen commented on METAMODEL-92:
------------------------------------------

Posted a suggestion for a fix, here: https://issues.apache.org/jira/browse/METAMODEL-92

Please review! :)

> ColumnNameAsKeysRowConverter should be able to traverse nested columns
> ----------------------------------------------------------------------
>
>                 Key: METAMODEL-92
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-92
>             Project: Metamodel
>          Issue Type: Improvement
>    Affects Versions: 4.2.0-incubating
>            Reporter: Kasper Sørensen
>            Assignee: Kasper Sørensen
>
> In some modules we have rows/documents that can have nested objects. For instance in
the JSON module. Often these modules will use the ColumnNameAsKeysRowConverter class to extract
values from it's row/document objects into MetaModel's rows.
> It would be a big improvement if we allow the user to specify column names with a syntax
that allows them to denormalize their data and extract information even from nested objects.
For instance if you have this document:
> {
> "name":{ "first":"Joe", "last":"Sixpack" },
> "gender":"MALE",
> "verified":false,
> "userImage":"Rm9vYmFyIQ=="
> }
> Then a column with the name "name.first" should resolve "Joe" from this particular document.
I believe we have similar functionality in some of the NoSQL modules, so consider how we can
best reuse it.



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

Mime
View raw message