Skip to content

Commit

Permalink
qs
Browse files Browse the repository at this point in the history
  • Loading branch information
lostmygithubaccount committed Aug 23, 2024
1 parent 614d888 commit e61247e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 585 deletions.
7 changes: 4 additions & 3 deletions website/analysis.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ ibis.get_backend().register_filesystem(fs)
```{python}
def get_t(floats=False):
t = (
# ibis.read_json("bench_logs_v2/raw_json/file_id=*.json")
ibis.read_parquet("gs://ibis-bench/adhoc/2024-08-23/cache/file_id=*.parquet")
.mutate(
timestamp=ibis._["timestamp"].cast("timestamp"),
instance_type=ibis.literal("MacBook Pro (2021 Apple M1 Max 32GB)"),
)
.filter(ibis._["floats"] == floats)
.distinct()
.cache()
)
return t
```
Expand Down Expand Up @@ -194,13 +194,14 @@ def queries_bar(agg, sfs, category_orders):

:::

## Decimals (original TPC-H data)

::: {.callout-warning}
Polars fails on 9/22 queries because [you can't round on decimals yet](https://github.com/pola-rs/polars/issues/15151).

We also run with decimals converted to floats to account for this and get a comparison.
[We also run with decimals converted to floats to account for this and get a comparison](#floats-tpc-h-data-with-decimals-casted-to-floats).
:::

## Decimals (original TPC-H data)

```{python}
t = get_t()
Expand Down
Loading

0 comments on commit e61247e

Please sign in to comment.