Calling as_ on Cte uses Relation.as_ and throws up a type error when used in CTE clauses. The Cte.as_ extension method needs to be imported in order to resolve this.
Solution: Perhaps a specialized Cte.as_ that can function as WithOperand or Aliased depending on context
Calling
as_
onCte
usesRelation.as_
and throws up a type error when used in CTE clauses. TheCte.as_
extension method needs to be imported in order to resolve this.Solution: Perhaps a specialized
Cte.as_
that can function as WithOperand or Aliased depending on context