mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-24 16:42:05 +00:00
Fix test 00189_time_zones_long and integration test test_materialized_mysql_database
This commit is contained in:
parent
9607b21e73
commit
ac2a42cfb0
@ -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')")
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user