On Fri, 2010-01-29 at 10:33 -0500, Ken Johnson wrote:
How might a user share a common "library" of functions
across several
VDBs? I see the value of being able to scope to a single VDB.
There's
also value in a shared set of functions (so they can be updated
centrally without requiring each VDB to be rebuilt and redeployed) .
Yes, Teiid loses the capability of providing the global function library
across the VDBs. Having a global functions and each VDB depending upon
them also takes notion of VDBs self containing all the metadata that
they need to execute. Also, makes it easy deployment model as user no
longer has to make sure they deploy two artifacts to work with their
vdbs.
Is there some way to provide users a choice of scoping functions to
VDB
or treating them as a shared resource?
Unfortunately not at this time. It is
recommended that users have
duplicate copy of this file in every VDB if they are truly system wide
functions. The supporting JAR file is required to be copied to "lib"
directory of the container manually, so sharing that is automatically
given if one uses the same functions.
Ramesh..