Marco,
There is an issue here. Our post metadata load MetadataValidator is resolving the foreign key references after validating the query plans, which will lead to this exception since we need the fk reference to validate the plan. We are also not handling this exception gracefully as we should put the the vdb status as failed and not still loading. I'll log an issue to get these addressed.
The simplest workaround would move the simple view defintions onto the base vdb. Then when the x view is resolved in the importing vdb, the fk reference will have been correctly set. I can see locally that approach will work and have replicated the exception above.
Steve
> The simplest workaround would move the simple view defintions onto the base vdb. Then when the x view is resolved in the importing vdb, the fk reference will have been correctly set.
i can confirm this workaround works, now it's updating...
thanks
marco
Also https://issues.jboss.org/browse/TEIID-2347 has been addressed for 8.3 Beta1, so the exception and hung deployment will no longer happen.
thanks, Steven! :-)
Teiid has one of the best support teams i ever experienced....
Marco
Marco,
Thanks for the endorsement. We'll always try to assist you the best we can.
Steve