for (DerivedColumn derivedColumn : passing) {
if (derivedColumn.getAlias() == null) {
continue;
}
try {
context.declareGlobalVariable(StructuredQName.fromClarkName(derivedColumn.getAlias()), SequenceType.ANY_SEQUENCE, null, true);
} catch (XPathException e) {
//this is always expected to work
throw new TeiidRuntimeException(e, "Could not define global variable"); //$NON-NLS-1$
}
}