(self, collation_name, expected_sql, dialect)
| 3052 | id_="iaaa", |
| 3053 | ) |
| 3054 | def test_cast_with_collate(self, collation_name, expected_sql, dialect): |
| 3055 | t1 = Table( |
| 3056 | "t1", |
| 3057 | MetaData(), |
| 3058 | Column("txt", String(10, collation=collation_name)), |
| 3059 | ) |
| 3060 | stmt = select(func.cast(t1.c.txt, t1.c.txt.type)) |
| 3061 | self.assert_compile(stmt, expected_sql, dialect=dialect) |
| 3062 | |
| 3063 | def test_over(self): |
| 3064 | self.assert_compile(func.row_number().over(), "row_number() OVER ()") |