-
Enhancement
-
Resolution: Done
-
Major
-
8.7
Currently, it seems like ID needs to be appear in parent and child for nested documents. But it is unlikely a case for MongoDB customers. It would be nice if Teiid can flatten out data in one single table. Therefore, users would not need to insert parent id in the child document in order for Teiid to work.
I am thinking the following case. For example I have a JSON object like this:
Customer { _id: 1374932, FirstName: "John", LastName: "Doe", Address: { _id: 43839430, customer_id: IDRef("Customer", 1374932) Street: "123 Lane", City: "New York", State: "NY", Zipcode: "12345" } }
the Teiid should work with document such as
Customer { _id: 1374932, FirstName: "John", LastName: "Doe", Address: { _id: 43839430, Street: "123 Lane", City: "New York", State: "NY", Zipcode: "12345" } }
- is cloned by
-
TEIID-3056 MongoDB: Put nested JSON documents in one single table
- Closed