Skip to content

Commit

Permalink
Added cast to BIGINT for z_content_size and z_content_uncompressed_si…
Browse files Browse the repository at this point in the history
…ze fields
  • Loading branch information
Nikita-Smirnov-Exactpro committed Feb 6, 2025
1 parent c950383 commit ba78a9c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -628,8 +628,8 @@ download_grouped_messages() {
book, page, alias_group, \
MAX(rec_date) as max_rec_date, \
SUM(message_count) as sum_message_count, \
SUM(z_content_size) as sum_z_content_size, \
SUM(z_content_uncompressed_size) as sum_z_content_uncompressed_size \
SUM(CAST(z_content_size AS BIGINT)) as sum_z_content_size, \
SUM(CAST(z_content_uncompressed_size AS BIGINT)) as sum_z_content_uncompressed_size \
FROM grouped_messages \
WHERE book='${book}' AND \
page='${page}' AND \
Expand Down Expand Up @@ -675,8 +675,8 @@ download_test_events() {
book, page, scope, \
MAX(rec_date) as max_rec_date, \
SUM(event_count) as sum_event_count, \
SUM(z_content_size) as sum_z_content_size, \
SUM(z_content_uncompressed_size) as sum_z_content_uncompressed_size \
SUM(CAST(z_content_size AS BIGINT)) as sum_z_content_size, \
SUM(CAST(z_content_uncompressed_size AS BIGINT)) as sum_z_content_uncompressed_size \
FROM test_events \
WHERE book='${book}' AND \
page='${page}' AND \
Expand Down

0 comments on commit ba78a9c

Please sign in to comment.