(self)
| 786 | ) |
| 787 | |
| 788 | def test_groupby_rollup(self): |
| 789 | t = table("tt", column("foo"), column("bar")) |
| 790 | q = sql.select(t.c.foo).group_by(sql.func.rollup(t.c.foo, t.c.bar)) |
| 791 | self.assert_compile( |
| 792 | q, "SELECT tt.foo FROM tt GROUP BY tt.foo, tt.bar WITH ROLLUP" |
| 793 | ) |
| 794 | |
| 795 | |
| 796 | class CustomExtensionTest( |