Skip to content

Commit

Permalink
Round in tpcds-q67 (#14580)
Browse files Browse the repository at this point in the history
  • Loading branch information
iddqdex authored Feb 14, 2025
1 parent 1429695 commit a2e1626
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/library/benchmarks/queries/tpcds/yql/q67.sql
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ from (select i_category
,date_dim.d_qoy d_qoy
,date_dim.d_moy d_moy
,store.s_store_id s_store_id
,sum(coalesce($todecimal(ss_sales_price, 7, 2)*ss_quantity, $todecimal(0,7,2))) sumsales
,$round(sum(coalesce($todecimal(ss_sales_price, 7, 2)*ss_quantity, $todecimal(0,7,2))), -2) sumsales
from {{store_sales}} as store_sales
cross join {{date_dim}} as date_dim
cross join {{store}} as store
Expand Down

0 comments on commit a2e1626

Please sign in to comment.