mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Fixed test_dependent_loading. event_time_microseconds has two dates connected with "\n"
This commit is contained in:
parent
1e2eea9f63
commit
97eded0ac7
@ -1127,9 +1127,13 @@ def test_dependent_loading(started_cluster):
|
||||
nested_time = instance.query(
|
||||
f"SELECT event_time_microseconds FROM system.text_log WHERE message like 'Loading table default.{uuid}_nested' and message not like '%like%'"
|
||||
).strip()
|
||||
time = instance.query(
|
||||
time = (
|
||||
instance.query(
|
||||
f"SELECT event_time_microseconds FROM system.text_log WHERE message like 'Loading table default.{table}' and message not like '%like%'"
|
||||
).strip()
|
||||
)
|
||||
.strip()
|
||||
.split("\n")[-1]
|
||||
)
|
||||
instance.query(
|
||||
f"SELECT toDateTime64('{nested_time}', 6) < toDateTime64('{time}', 6)"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user