-
1. Re: delegate translator in VDB
van.halbert Jun 9, 2015 8:03 AM (in response to nitdede)Nitesh,
With this VDB design, models A and B are treated as being in the same VDB, and the delegating translator would not be callable from B to A. If you want to use a delegating translator, take a look at the doc's [1] and how it explains to use a translator override. The translator override would be defined for model B, which is mapped to a data source that defines connecting to another VDB, for which model A is contained.
[1] Delegating Translator - Teiid 8.11 (draft) - Project Documentation Editor
-
2. Re: delegate translator in VDB
nitdede Jun 10, 2015 4:08 AM (in response to van.halbert)Thanks Van,
But I can not make any change into VDB (B), so is there any other way to modify the query as per the requirement before it goes to VDB B.
-
3. Re: delegate translator in VDB
van.halbert Jun 10, 2015 8:38 AM (in response to nitdede)Nitesh,
Let me first apologize, I inadvertently swapped A and B in my statement. You would change model A to map to the delegating translator, which would call the VDB for which model B is defined. In your implementation of the delegating translator, you can make adjustments to the query being submitted before calling VDB "B".