[
https://issues.jboss.org/browse/TEIIDDES-2600?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-2600:
----------------------------------------
The ModeShape TeiidDdlParser's CreateTableParser.parse() method correctly identifies
CREATE GLOBAL TEMPORARY TABLE, however there are no properties set on the AstNode to
identify this as anything but a TABLE.
Same goes for CREATE LOCAL TEMPORARY TABLE and CREATE FOREIGN TEMPORARY TABLE statements
as well.
The TeiidDdl.cnd does not include GLOBAL, TEMPORARY or LOCAL constructs.
During import the original DDL string (statement) is available from the AstNode. Designer
could check the statement looking these key-words and set the appropriate values. However,
Komodo work would have to duplicate this hack.
Recommend logging a ModeShape issue to add this to the CND and corresponding lexicons.
DDL Importer does not yet support GLOBAL or LOCAL TEMP TABLE
------------------------------------------------------------
Key: TEIIDDES-2600
URL:
https://issues.jboss.org/browse/TEIIDDES-2600
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Reporter: Barry LaFond
Assignee: Barry LaFond
Fix For: 9.0.4, 9.2
Trying to import the following DDL into a View model (see: TEIIDDES-1794) the resulting
Table has the Global Temp Table value set to *false*.
I don't think the TeiidDdlImporter is handling these particular cases.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)