Skip to content

Commit

Permalink
Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
andygrove committed Jul 16, 2024
1 parent 7102b40 commit 3050298
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion benchmarks/sum_decimal.sql → benchmarks/join_condition.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,9 @@
-- specific language governing permissions and limitations
-- under the License.

select sum(ss_sales_price) from store_sales;
-- This is based on the first join in q72 when there is no join reordering

select sum(cs_wholesale_cost * inv_quantity_on_hand)
from catalog_sales join inventory on cs_item_sk = inv_item_sk
where cs_warehouse_sk = 1 and inv_quantity_on_hand = 666
and inv_quantity_on_hand < cs_quantity;
2 changes: 2 additions & 0 deletions benchmarks/join_exploding_output.sql
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
-- specific language governing permissions and limitations
-- under the License.

-- This is based on the first join in q72 when there is no join reordering

select sum(cs_wholesale_cost * inv_quantity_on_hand)
from catalog_sales join inventory on cs_item_sk = inv_item_sk
where cs_warehouse_sk = 1 and inv_quantity_on_hand = 666;

0 comments on commit 3050298

Please sign in to comment.