Skip to content

Commit

Permalink
fix test.test_timezone initial data filling
Browse files Browse the repository at this point in the history
  • Loading branch information
Slach committed Oct 12, 2024
1 parent 3c38b9d commit d612e21
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/clickhouse/init_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -238,5 +238,6 @@ PARTITION BY toYYYYMM(dt)
ORDER BY (dt, tm);

INSERT INTO test.test_timezone
SELECT today() AS dt, toDateTime(dt + INTERVAL number SECOND), toDateTime64(dt + INTERVAL number SECOND), rand(), 'line ' || number
SELECT today() AS dt,
dt + INTERVAL number SECOND, dt + INTERVAL number SECOND + INTERVAL number % 100 MILLISECOND, rand(), 'line ' || number
FROM numbers(86400);

0 comments on commit d612e21

Please sign in to comment.