[
https://issues.jboss.org/browse/TEIID-2231?page=com.atlassian.jira.plugin...
]
Steven Hawkins resolved TEIID-2231.
-----------------------------------
Resolution: Done
Added a parse(Reader) call on the MetadataFactory. We could restrict the implementation
if needed, but for now I've added a org.teiid.metadata.Parser and ParseException to
encapsulate calls into the engine parser. This gets set on the MetadataFactory before
being passed into a MetadataRepository.
Prodive a way to implement ddl preprocessors
--------------------------------------------
Key: TEIID-2231
URL:
https://issues.jboss.org/browse/TEIID-2231
Project: Teiid
Issue Type: Enhancement
Components: Connector API
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 8.2
A common pattern is to use ddl that needs preprocessing before it is valid Teiid sql.
However the MetadataFactory does not expose a way to either set a Reader to pass the ddl
to the chained MetadataRepository nor does it directly expose a parse method backed by the
parser (which would need injected).
--
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