Fix test 00189_time_zones_long and integration test test_materialized_mysql_database

This commit is contained in:
Roman Vasin 2022-07-26 10:44:58 +00:00
parent 9607b21e73
commit ac2a42cfb0
2 changed files with 5 additions and 5 deletions

View File

@ -2126,9 +2126,9 @@ def materialized_database_mysql_date_type_to_date32(
mysql_node.query(
"CREATE TABLE test_database.a (a INT(11) NOT NULL PRIMARY KEY, b date DEFAULT NULL)"
)
# can't support date that less than 1925 year for now
mysql_node.query("INSERT INTO test_database.a VALUES(1, '1900-04-16')")
# test date that is older than 1925
# can't support date that less than 1900 year for now
mysql_node.query("INSERT INTO test_database.a VALUES(1, '1899-04-16')")
# test date that is older than 1900
mysql_node.query("INSERT INTO test_database.a VALUES(3, '1971-02-16')")
mysql_node.query("INSERT INTO test_database.a VALUES(4, '2101-05-16')")

View File

@ -137,7 +137,7 @@ toStartOfInterval
2015-01-01
2019-01-01
2019-01-01
2018-10-01
2018-07-01
2019-02-01
2019-01-01
2018-10-01
@ -164,7 +164,7 @@ toStartOfInterval
2015-01-01
2019-01-01
2019-01-01
2018-10-01
2018-07-01
2019-02-01
2019-01-01
2018-10-01