Issue in InsertResolver, using wrong iterator
---------------------------------------------
Key: TEIID-2307
URL:
https://issues.jboss.org/browse/TEIID-2307
Project: Teiid
Issue Type: Bug
Components: Query Engine
Affects Versions: 8.3
Reporter: Van Halbert
Assignee: Van Halbert
Fix For: 8.3
The InsertResolver is referencing the wrong iterator. A NoSuchElement is being thrown
when it tries to process this section of the code:
Iterator<ElementSymbol> defaultIter = insertElmnts.iterator();
while(defaultIter.hasNext()) {
- ElementSymbol next = varIter.next();
+ ElementSymbol next = defaultIter.next();
ElementSymbol varSymbol = next.clone();
varSymbol.getGroupSymbol().setName(ProcedureReservedWords.CHANGING);
varSymbol.setType(DataTypeManager.DefaultDataClasses.BOOLEAN);
(~/RedHat/github/teiid) unknown001cfb5baa3b $
--
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: