1
0
Fork 0
sqlglot/tests/dialects/test_starrocks.py

12 lines
291 B
Python
Raw Normal View History

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')")