[
https://issues.jboss.org/browse/TEIID-2292?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2292.
-----------------------------------
Fix Version/s: 8.3
Resolution: Done
Added the model property multisource.addColumn to control if a multi-source column is
added to the actual metadata. 2/3 follow directly from this.
The designer side of 1 was not addressed, however the refactoring allows for the use of
the multi-source pseudo-column in view/procedure definitions even without actually adding
the column. This is because the metadata wrapper logic was moved into the initial
metadata construction on CompositeVDB.
There is a possible issue here in that if you then turn multi-source off, the definitions
may then become invalid. However I don't see this a large issue since
- it could be worked around by having a multi-source model with 1 source and/or allowing
the addColumn property to work with non-multisource models
- and this is inline with how the multisourcemetadatawrapper used to function in that it
was always applied. For the design time metadata it basically returned itself meaning
that the columns were available for definition resolution and it ensured that columns
matching the multi-source column name didn't have two different meanings.
Add "SOURCE_NAME" column automatically for Multi-Source
models
--------------------------------------------------------------
Key: TEIID-2292
URL:
https://issues.jboss.org/browse/TEIID-2292
Project: Teiid
Issue Type: Sub-task
Components: Query Engine
Affects Versions: 8.2
Reporter: Ramesh Reddy
Assignee: Steven Hawkins
Fix For: 8.3
Currently Teiid adds SOURCE_NAME pseudo column when the model defines as multi-source to
all the tables. This is not reflected in the metadata. However based on the community
requests it looks like providing a way to automatically adding this to the tables and
procedures is useful in dynamic vdb scenarios.
This can be added when a property like
<property name="multi-source-column" value="{name-of-column}"/>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira