// if all-historical join, check dependency
boolean isAllHistoricalNoSubordinate = false;
if ((historicalViewableDesc.getHistorical()[0]) && historicalViewableDesc.getHistorical()[1])
{
DependencyGraph graph = new DependencyGraph(2, false);
graph.addDependency(0, historicalViewableDesc.getDependenciesPerHistorical()[0]);
graph.addDependency(1, historicalViewableDesc.getDependenciesPerHistorical()[1]);
if (graph.getFirstCircularDependency() != null)
{
throw new ExprValidationException("Circular dependency detected between historical streams");
}