(self)
| 789 | assert sel3.corresponding_column(col) is sel3.c.foo |
| 790 | |
| 791 | def test_with_only_generative(self): |
| 792 | s1 = table1.select().scalar_subquery() |
| 793 | self.assert_compile( |
| 794 | s1.with_only_columns(s1), |
| 795 | "SELECT (SELECT table1.col1, table1.col2, " |
| 796 | "table1.col3, table1.colx FROM table1) AS anon_1", |
| 797 | ) |
| 798 | |
| 799 | def test_reduce_cols_odd_expressions(self): |
| 800 | """test util.reduce_columns() works with text, non-col expressions |
nothing calls this directly
no test coverage detected