2025-02-13 06:15:54 +01:00
|
|
|
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")
|
2025-02-13 14:52:26 +01:00
|
|
|
|
|
|
|
def test_time(self):
|
|
|
|
self.validate_identity("TIMESTAMP('2022-01-01')")
|