server/msplanner.py
branchstable
changeset 7879 9aae456abab5
parent 7815 2a164a9cf81c
child 7886 b1c913a6d9f0
equal deleted inserted replaced
7874:be04706eacc9 7879:9aae456abab5
  1436             getrschema = self.schema.rschema
  1436             getrschema = self.schema.rschema
  1437             if need_intersect(select, getrschema) or any(need_intersect(select, getrschema)
  1437             if need_intersect(select, getrschema) or any(need_intersect(select, getrschema)
  1438                                                          for step in steps
  1438                                                          for step in steps
  1439                                                          for select in step.union.children):
  1439                                                          for select in step.union.children):
  1440                 if temptable:
  1440                 if temptable:
  1441                     step = IntersectFetchStep(plan) # XXX not implemented
  1441                     raise NotImplementedError('oops') # IntersectFetchStep(plan)
  1442                 else:
  1442                 else:
  1443                     step = IntersectStep(plan)
  1443                     step = IntersectStep(plan)
  1444             else:
  1444             else:
  1445                 if temptable:
  1445                 if temptable:
  1446                     step = UnionFetchStep(plan)
  1446                     step = UnionFetchStep(plan)