(self, collation_name, expected_sql, dialect)
| 3076 | id_="iaaa", |
| 3077 | ) |
| 3078 | def test_cast_with_collate(self, collation_name, expected_sql, dialect): |
| 3079 | t1 = Table( |
| 3080 | "t1", |
| 3081 | MetaData(), |
| 3082 | Column("txt", String(10, collation=collation_name)), |
| 3083 | ) |
| 3084 | stmt = select(func.cast(t1.c.txt, t1.c.txt.type)) |
| 3085 | self.assert_compile(stmt, expected_sql, dialect=dialect) |
| 3086 | |
| 3087 | def test_over(self): |
| 3088 | self.assert_compile(func.row_number().over(), "row_number() OVER ()") |