(node: sql_expr.Expression)
| 639 | |
| 640 | |
| 641 | def _check_work_done(node: sql_expr.Expression) -> None: |
| 642 | for key, obj in node.args.items(): |
| 643 | if obj is None: |
| 644 | continue |
| 645 | try: |
| 646 | repr = obj.sql() |
| 647 | except AttributeError: |
| 648 | repr = str(obj) |
| 649 | raise NotImplementedError(f"{key}: {repr} not supported.") |