Skip to content

Commit

Permalink
PMM-13154 Fix CH migration
Browse files Browse the repository at this point in the history
  • Loading branch information
artemgavrilov committed Aug 30, 2024
1 parent cd06b7c commit 84027e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions qan-api2/migrations/sql/17_shared_blk_columns.down.sql
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ ALTER TABLE metrics
DROP COLUMN m_local_blk_write_time_cnt,
DROP COLUMN m_local_blk_write_time_sum,
RENAME COLUMN m_shared_blk_read_time_cnt to m_blk_read_time_cnt,
RENAME COLUMN m_shared_blk_read_time_sum to m_blk_read_time_sum,
RENAME COLUMN m_shared_blk_read_time_sum to m_blk_read_time_sum,
COMMENT COLUMN m_blk_read_time_sum 'Total time the statement spent reading blocks, in milliseconds (if track_io_timing is enabled, otherwise zero).',
RENAME COLUMN m_shared_blk_write_time_cnt to m_blk_write_time_cnt;
RENAME COLUMN m_shared_blk_write_time_sum to m_blk_write_time_sum;
RENAME COLUMN m_shared_blk_write_time_cnt to m_blk_write_time_cnt,
RENAME COLUMN m_shared_blk_write_time_sum to m_blk_write_time_sum,
COMMENT COLUMN m_blk_write_time_sum 'Total time the statement spent writing blocks, in milliseconds (if track_io_timing is enabled, otherwise zero).';

0 comments on commit 84027e4

Please sign in to comment.