summaryrefslogtreecommitdiffstats
path: root/tests/dialects/test_starrocks.py
blob: 35d8b45c4edba28e065af77d2681f427e24d4c3c (plain)
1
2
3
4
5
6
7
8
9
10
11
from tests.dialects.test_dialect import Validator


class TestMySQL(Validator):
    dialect = "starrocks"

    def test_identity(self):
        self.validate_identity("SELECT CAST(`a`.`b` AS INT) FROM foo")

    def test_time(self):
        self.validate_identity("TIMESTAMP('2022-01-01')")