Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ daft = ["daft==0.5.7", "deltalake==0.25.5", "pyarrow>=15.0.0"]
tpcds_datagen = ["duckdb==1.3.1", "pyarrow>=15.0.0"]
tpch_datagen = ["duckdb==1.3.1", "pyarrow>=15.0.0"]
sparkmeasure = ["sparkmeasure==0.24.0"]
sail = ["pysail==0.3.3", "pyspark[connect]==4.0.0", "deltalake>=1.0.2", "pyarrow>=15.0.0"]
sail = ["pysail>=0.3.4", "pyspark[connect]>=4.0.0", "deltalake>=1.0.2", "pyarrow>=15.0.0"]

[project.urls]
github = "https://github.com/mwc360/LakeBench"
Expand Down
18 changes: 0 additions & 18 deletions src/lakebench/benchmarks/clickbench/resources/queries/sail/q23.sql

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SELECT
i_category,
i_class,
GROUPING(i_category) + GROUPING(i_class) AS lochierarchy,
CAST(RANK() OVER (PARTITION BY GROUPING(i_category) + GROUPING(i_class), CASE WHEN GROUPING(i_class) = 0 THEN i_category END ORDER BY SUM(ss_net_profit) / SUM(ss_ext_sales_price) ASC) AS LONG) AS rank_within_parent /* RANK() is internally represented as *unsigned* int; additional cast is necessary; https://github.com/lakehq/sail/issues/732 */
RANK() OVER (PARTITION BY GROUPING(i_category) + GROUPING(i_class), CASE WHEN GROUPING(i_class) = 0 THEN i_category END ORDER BY SUM(ss_net_profit) / SUM(ss_ext_sales_price) ASC) AS rank_within_parent
FROM store_sales
JOIN date_dim AS d1 ON d1.d_date_sk = ss_sold_date_sk
JOIN item ON i_item_sk = ss_item_sk
Expand Down
71 changes: 0 additions & 71 deletions src/lakebench/benchmarks/tpcds/resources/queries/sail/q44.sql

This file was deleted.

145 changes: 0 additions & 145 deletions src/lakebench/benchmarks/tpcds/resources/queries/sail/q49.sql

This file was deleted.

56 changes: 0 additions & 56 deletions src/lakebench/benchmarks/tpcds/resources/queries/sail/q51.sql

This file was deleted.

58 changes: 0 additions & 58 deletions src/lakebench/benchmarks/tpcds/resources/queries/sail/q67.sql

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ SELECT
s_state,
s_county,
GROUPING(s_state) + GROUPING(s_county) AS lochierarchy,
CAST(RANK() OVER (PARTITION BY GROUPING(s_state) + GROUPING(s_county), CASE WHEN GROUPING(s_county) = 0 THEN s_state END ORDER BY SUM(ss_net_profit) DESC) AS LONG) AS rank_within_parent /* RANK() is internally represented as *unsigned* int; additional cast is necessary; https://github.com/lakehq/sail/issues/732 */
RANK() OVER (PARTITION BY GROUPING(s_state) + GROUPING(s_county), CASE WHEN GROUPING(s_county) = 0 THEN s_state END ORDER BY SUM(ss_net_profit) DESC) AS rank_within_parent
FROM store_sales
JOIN date_dim AS d1 ON d1.d_date_sk = ss_sold_date_sk
JOIN store ON s_store_sk = ss_store_sk
Expand Down
Loading